mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
haskell.compiler.ghc8102Binary: Remove sed
of /usr/bin/*
commands.
None of the current bindists appear to contain these paths in their `ghc-stage2` binary.
This commit is contained in:
parent
1326009806
commit
5777bd3d56
@ -204,9 +204,6 @@ stdenv.mkDerivation rec {
|
||||
lib.optionalString stdenv.isLinux ''
|
||||
find . -type f -perm -0100 -exec patchelf \
|
||||
--interpreter ${glibcDynLinker} {} \;
|
||||
|
||||
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
|
||||
'' +
|
||||
# We're kludging a glibc bindist into working with non-glibc...
|
||||
# Here we patch up the use of `__strdup` (part of glibc binary ABI)
|
||||
|
Loading…
Reference in New Issue
Block a user