nixos/stage-1: srestore striping of bin/ and lib/

commit 0507725061 ("setup-hooks/strip.sh: run RANLIB on static
archives after stripping") added an extra argument to `stripDirs()`
helper.

I did not realize it's used outside the strip hook itself. Restore
stripping by passing $RANLIB as a new argument.
This commit is contained in:
Sergei Trofimovich 2022-08-07 11:04:45 +01:00
parent 9d3f3bc3dc
commit fb324910bf

View file

@ -219,7 +219,7 @@ let
# Strip binaries further than normal.
chmod -R u+w $out
stripDirs "$STRIP" "lib bin" "-s"
stripDirs "$STRIP" "$RANLIB" "lib bin" "-s"
# Run patchelf to make the programs refer to the copied libraries.
find $out/bin $out/lib -type f | while read i; do