Merge pull request #185530 from trofi/restore-stage-1-strip

nixos/stage-1: srestore striping of bin/ and lib/
This commit is contained in:
Sergei Trofimovich 2022-08-11 08:50:45 +01:00 committed by GitHub
commit 925a9bb753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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