about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2021-07-04 19:24:06 +0000
committerNiklas Hambüchen <mail@nh2.me>2021-07-10 02:49:41 +0200
commit5777bd3d561d955a0cce9a46d6bf545ee40ba84c (patch)
tree9e2ccc1261dbbec7b05f786f154d8948760f7bd2 /pkgs/development/compilers
parent1326009806c41950986eeb185f088d4e002dd5c7 (diff)
downloadnixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar.gz
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar.bz2
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar.lz
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar.xz
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.tar.zst
nixlib-5777bd3d561d955a0cce9a46d6bf545ee40ba84c.zip
haskell.compiler.ghc8102Binary: Remove `sed` of `/usr/bin/*` commands.
None of the current bindists appear to contain these paths in their
`ghc-stage2` binary.
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/ghc/8.10.2-binary.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.2-binary.nix b/pkgs/development/compilers/ghc/8.10.2-binary.nix
index 0abb2aa4ac4c..51d57f6f8410 100644
--- a/pkgs/development/compilers/ghc/8.10.2-binary.nix
+++ b/pkgs/development/compilers/ghc/8.10.2-binary.nix
@@ -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)