diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-08-11 08:50:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 08:50:45 +0100 |
commit | 925a9bb7532ade4397ca163f972c30be6e05b585 (patch) | |
tree | 8cb700653cf15db87f2ab1316032b7fc63625058 /nixos | |
parent | 5a436f538f8cac19fd306e865d2e7f19d21d1d19 (diff) | |
parent | fb324910bfb9bc9e870ee8341d88bb6449b3eb27 (diff) |
Merge pull request #185530 from trofi/restore-stage-1-strip
nixos/stage-1: srestore striping of bin/ and lib/
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index ec2f3d18c6850..37adcc531d3d0 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -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 |