Merge pull request #67795 from matthewbauer/remove-hidden-bins

nixos/system-path: remove wrappers from system-path
This commit is contained in:
Matthew Bauer
2019-09-09 12:26:55 -04:00
committed by GitHub

View File

@@ -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