anchor.diff:  { stdenv
   , fetchurl, perl, gcc, llvm_39
  -, ncurses5, gmp, libiconv
  +, ncurses5, gmp, glibc, libiconv
   }:
   
   # Prebuilt only does native
  
positive.code: 
    libEnvVar = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "DY"
      + "LD_LIBRARY_PATH";
  
  in
  
  
negative.code:       find . -type f -perm -0100 -exec patchelf \
            --replace-needed libncurses${stdenv.lib.optionalString stdenv.is64bit "w"}.so.5 libncurses.so \
            --replace-needed libtinfo.so libtinfo.so.5 \
            --interpreter ${glibcDynLinker} {} \;
  
        paxmark m ./ghc-${version}/ghc/stage2/build/tmp/ghc-stage2
  
  