mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
9d3f3bc3dc
commit
fb324910bf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue