Merge pull request #67795 from matthewbauer/remove-hidden-bins
nixos/system-path: remove wrappers from system-path
This commit is contained in:
commit
c270c0ce6a
@ -135,6 +135,9 @@ in
|
|||||||
# outputs TODO: note that the tools will often not be linked by default
|
# outputs TODO: note that the tools will often not be linked by default
|
||||||
postBuild =
|
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
|
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
|
$out/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user