git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43169 from samueldr/fix/stripDirs

Fixes `stripDirs` use after signature change

commit19fc061a1363d54bcab0e11e9187f46425b5f763 authorMatthew Bauer <mjbauer95@gmail.com> dateSat 14 Jul 2018, 19:07 (8 years ago) parent5568c7cf8790e0
3 files changed+3−3
nixos/modules/system/boot/stage-1.nix+1−1 pkgs/development/compilers/openjdk/10.nix+1−1 pkgs/development/compilers/openjdk/8.nix+1−1
nixos/modules/system/boot/stage-1.nix+1−1
@@ -164,7 +164,7 @@ let
164164
165165 # Strip binaries further than normal.
166166 chmod -R u+w $out
167− stripDirs "lib bin" "-s"
167+ stripDirs "$STRIP" "lib bin" "-s"
168168
169169 # Run patchelf to make the programs refer to the copied libraries.
170170 find $out/bin $out/lib -type f | while read i; do
pkgs/development/compilers/openjdk/10.nix+1−1
@@ -142,7 +142,7 @@ let
142142
143143 # FIXME: this is unnecessary once the multiple-outputs branch is merged.
144144 preFixup = ''
145− prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
145+ prefix=$jre stripDirs "$STRIP" "$stripDebugList" "''${stripDebugFlags:--S}"
146146 patchELF $jre
147147 propagatedBuildInputs+=" $jre"
148148
pkgs/development/compilers/openjdk/8.nix+1−1
@@ -206,7 +206,7 @@ let
206206
207207 # FIXME: this is unnecessary once the multiple-outputs branch is merged.
208208 preFixup = ''
209− prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
209+ prefix=$jre stripDirs "$STRIP" "$stripDebugList" "''${stripDebugFlags:--S}"
210210 patchELF $jre
211211 propagatedBuildInputs+=" $jre"
212212