anchor.diff:            --replace "/usr/bin/env" "${coreutils}/bin/env"
         done
       '' + optionalString stdenv.isDarwin ''
  +      sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
         sed -i -e "s|tr1/type_traits|type_traits|g" \
                -e "s|std::tr1|std|" src/util.h
       '';
  
positive.code: 
        # install the missing headers for node-gyp
        cp -r ${concatStringsSep " " copyLibHeaders} $out/include/node
      '';
  
      passthru.updateScript = import ./update.nix {
  
negative.code: 
      postPatch = ''
        patchShebangs .
  
        # fix tests
        for a in test/parallel/test-child-process-env.js \
  