diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-09-09 12:26:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 12:26:55 -0400 |
commit | c270c0ce6a9c9b61598fa20ea31ded4b295e7fba (patch) | |
tree | 5215687fafadcb19b26efbe40beb4bfb4f4f00d1 /nixos/modules/config | |
parent | f0d6a96202061d871afa59b85759bb2baec30e13 (diff) | |
parent | 54d039f8f45c520f4d3e100d3bfc5a7809c3c602 (diff) |
Merge pull request #67795 from matthewbauer/remove-hidden-bins
nixos/system-path: remove wrappers from system-path
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/system-path.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix index fae2fc740082..aba9bc0945b1 100644 --- a/nixos/modules/config/system-path.nix +++ b/nixos/modules/config/system-path.nix @@ -135,6 +135,9 @@ in # outputs TODO: note that the tools will often not be linked by default postBuild = '' + # Remove wrapped binaries, they shouldn't be accessible via PATH. + find $out/bin -maxdepth 1 -name ".*-wrapped" -type l -delete + if [ -x $out/bin/glib-compile-schemas -a -w $out/share/glib-2.0/schemas ]; then $out/bin/glib-compile-schemas $out/share/glib-2.0/schemas fi |