mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
Merge pull request #43169 from samueldr/fix/stripDirs
Fixes `stripDirs` use after signature change
This commit is contained in:
commit
19fc061a13
@ -164,7 +164,7 @@ let
|
|||||||
|
|
||||||
# Strip binaries further than normal.
|
# Strip binaries further than normal.
|
||||||
chmod -R u+w $out
|
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.
|
# Run patchelf to make the programs refer to the copied libraries.
|
||||||
find $out/bin $out/lib -type f | while read i; do
|
find $out/bin $out/lib -type f | while read i; do
|
||||||
|
@ -142,7 +142,7 @@ let
|
|||||||
|
|
||||||
# FIXME: this is unnecessary once the multiple-outputs branch is merged.
|
# FIXME: this is unnecessary once the multiple-outputs branch is merged.
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
|
prefix=$jre stripDirs "$STRIP" "$stripDebugList" "''${stripDebugFlags:--S}"
|
||||||
patchELF $jre
|
patchELF $jre
|
||||||
propagatedBuildInputs+=" $jre"
|
propagatedBuildInputs+=" $jre"
|
||||||
|
|
||||||
|
@ -206,7 +206,7 @@ let
|
|||||||
|
|
||||||
# FIXME: this is unnecessary once the multiple-outputs branch is merged.
|
# FIXME: this is unnecessary once the multiple-outputs branch is merged.
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
prefix=$jre stripDirs "$stripDebugList" "''${stripDebugFlags:--S}"
|
prefix=$jre stripDirs "$STRIP" "$stripDebugList" "''${stripDebugFlags:--S}"
|
||||||
patchELF $jre
|
patchELF $jre
|
||||||
propagatedBuildInputs+=" $jre"
|
propagatedBuildInputs+=" $jre"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user