anchor.diff:      sed -i '28s/home_dir().is_some()/true/' ./src/test/run-pass/env-home-dir.rs
     '';
   
  -  # Disable doCheck on Darwin to work around upstream issue
     doCheck = true;
     dontSetConfigureCross = true;
  +
  +  enableParallelBuilding = true;
  +
  +  meta = with stdenv.lib; {
  +    homepage = http://www.rust-lang.org/;
  +    description = "A safe, concurrent, practical language";
  +    maintainers = with maintainers; [ madjar cstrahan wizeman globin havvy wkennington retrry ];
  +    license = [ licenses.mit licenses.asl20 ];
  +    platforms = platforms.linux ++ platforms.darwin;
  +  };
   }
  
positive.code:     else
        "${shortVersion}-g${builtins.substring 0 7 srcRev}";
  
    name = "rustc-${version}";
  
    procps = if stdenv.isDarwin then darwin.ps else args.procps;
  
    llvmShared = llvm.override { enableSharedLibraries = true; };
  
    target = builtins.replaceStrings [" "] [","] (builtins.toString targets);
  
    meta = with stdenv.lib; {
      homepage = http://www.rust-lang.org/;
      description = "A safe, concurrent, practical language";
      maintainers = with maintainers; [ madjar cstrahan wizeman globin havvy wkennington retrry ];
      license = [ licenses.mit licenses.asl20 ];
      platforms = platforms.linux ++ platforms.darwin;
    };
  in
  
  stdenv.mkDerivation {
    inherit name;
    inherit version;
    inherit meta;
  
    __impureHostDeps = [ "/usr/lib/libedit.3.dylib" ];
  
  
negative.code:   buildInputs = [ ncurses ] ++ targetToolchains
      ++ optional (!forceBundledLLVM) llvmShared;
  
    outputs = [ "out" "doc" ];
    setOutputFlags = false;
  
    # Disable codegen units for the tests.
    preCheck = ''
      export RUSTFLAGS=
      export TZDIR=${tzdata}/share/zoneinfo
    '' +
    # Ensure TMPDIR is set, and disable a test that removing the HOME
  