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
commit c270c0ce6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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