anchor.diff:      export STRIP="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}strip"
   
       echo -n "${buildMK}" > mk/build.mk
  -    echo ${version} >VERSION
  -    echo ${src.rev} >GIT_COMMIT_ID
  -    ./boot
       sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
     '' + stdenv.lib.optionalString (!stdenv.isDarwin) ''
       export NIX_LDFLAGS+=" -rpath $out/lib/ghc-${version}"
  
positive.code: 
  # build-tools
  , bootPkgs, alex, happy
  , autoconf, automake, coreutils, fetchgit, fetchpatch, perl, python3
  
  , libffi, libiconv ? null, ncurses
  
  
negative.code: in
  stdenv.mkDerivation rec {
    inherit version;
    name = "${targetPrefix}ghc-${version}";
  
    src = fetchurl {
      url = "https://downloads.haskell.org/~ghc/${version}/ghc-${version}-src.tar.xz";
      sha256 = "0yq4y0smn92sksnjjva28b8847krxizns6rm50j3pgq69br35k01";
    };
  
    enableParallelBuilding = true;
  