mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
7.4.2-binary: paxmark ghc binary
This commit is contained in:
parent
56c0f5de89
commit
708070d232
@ -65,6 +65,9 @@ stdenv.mkDerivation rec {
|
|||||||
find . -type f -perm -0100 \
|
find . -type f -perm -0100 \
|
||||||
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
-exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath "${stdenv.lib.makeLibraryPath [ "$out" gmp ]}" {} \;
|
--set-rpath "${stdenv.lib.makeLibraryPath [ "$out" gmp ]}" {} \;
|
||||||
|
|
||||||
|
paxmark m ./ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
||||||
|
|
||||||
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
sed -i "s|/usr/bin/perl|perl\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
||||||
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
sed -i "s|/usr/bin/gcc|gcc\x00 |" ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
|
||||||
for prog in ld ar gcc strip ranlib; do
|
for prog in ld ar gcc strip ranlib; do
|
||||||
|
Loading…
Reference in New Issue
Block a user