summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-08-11 08:50:45 +0100
committerGitHub <noreply@github.com>2022-08-11 08:50:45 +0100
commit925a9bb7532ade4397ca163f972c30be6e05b585 (patch)
tree8cb700653cf15db87f2ab1316032b7fc63625058 /nixos
parent5a436f538f8cac19fd306e865d2e7f19d21d1d19 (diff)
parentfb324910bfb9bc9e870ee8341d88bb6449b3eb27 (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.nix2
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