summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-14 19:07:46 -0400
committerGitHub <noreply@github.com>2018-07-14 19:07:46 -0400
commit19fc061a1363d54bcab0e11e9187f46425b5f763 (patch)
treeb3d7c2b6125118e0653e6884ff0136d2277e6881 /nixos
parent5568c7c04b70f388bbcd412abc6f6e39ff1821c1 (diff)
parentf8790e0156dae0c04f922a172bfb9d9a7266c172 (diff)
downloadnixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar.gz
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar.bz2
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar.lz
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar.xz
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.tar.zst
nixlib-19fc061a1363d54bcab0e11e9187f46425b5f763.zip
Merge pull request #43169 from samueldr/fix/stripDirs
Fixes `stripDirs` use after signature change
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 6756f68cdf72..b6a7081b896c 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -164,7 +164,7 @@ let
 
       # Strip binaries further than normal.
       chmod -R u+w $out
-      stripDirs "lib bin" "-s"
+      stripDirs "$STRIP" "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