anchor.diff:    isHaskellPkg = x: (x ? pname) && (x ? version) && (x ? env);
     isSystemPkg = x: !isHaskellPkg x;
   
  +  allPkgconfigDepends = pkgconfigDepends ++ libraryPkgconfigDepends ++ executablePkgconfigDepends ++
  +                        optionals doCheck testPkgconfigDepends;
  +
     propagatedBuildInputs = buildDepends ++ libraryHaskellDepends ++ executableHaskellDepends;
     otherBuildInputs = extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++
                        buildTools ++ libraryToolDepends ++ executableToolDepends ++
  -                     optionals (pkgconfigDepends != []) ([pkgconfig] ++ pkgconfigDepends ++ libraryPkgconfigDepends ++ executablePkgconfigDepends) ++
  +                     optionals (allPkgconfigDepends != []) ([pkgconfig] ++ allPkgconfigDepends) ++
                        optionals doCheck (testDepends ++ testHaskellDepends ++ testSystemDepends);
     allBuildInputs = propagatedBuildInputs ++ otherBuildInputs;
   
  
positive.code:   ghcCommandCaps = toUpper ghcCommand;
  
  in
  stdenv.mkDerivation ({
    name = "${optionalString (hasActiveLibrary && pname != "ghcjs") "haskell-"}${pname}-${version}";
  
  
negative.code: , useCpphs ? false
  } @ args:
  
  assert editedCabalFile != null -> revision != null;
  
  let
  