mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 09:32:50 +00:00
nixos/system-path: remove wrappers from system-path
Remove .*-wrapped files from system-path. These files aren’t needed in the path for users.
This commit is contained in:
parent
3155fbff0a
commit
54d039f8f4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue