clean up usage of procps in rustc

This commit is contained in:
Jude Taylor 2016-02-23 12:59:36 -08:00
parent 7336191574
commit beea8537f7
2 changed files with 5 additions and 7 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchgit, fetchzip, file, python2, tzdata, procps
, llvmPackages_37, jemalloc, ncurses
, llvmPackages_37, jemalloc, ncurses, darwin
, shortVersion, isRelease
, forceBundledLLVM ? false
@ -10,7 +10,7 @@
, configureFlags ? []
, patches
}:
} @ args:
assert !stdenv.isFreeBSD;
@ -37,6 +37,8 @@ let version = if isRelease then
name = "rustc-${version}";
procps = if stdenv.isDarwin then darwin.ps else args.procps;
llvmShared = llvmPackages_37.llvm.override { enableSharedLibraries = true; };
platform = if stdenv.system == "i686-linux"

View file

@ -5062,11 +5062,7 @@ let
rtags = callPackage ../development/tools/rtags/default.nix {};
rustcMaster = callPackage ../development/compilers/rustc/head.nix {};
rustc = callPackage ../development/compilers/rustc {
callPackage = newScope ({
procps = if stdenv.isDarwin then darwin.ps else procps;
});
};
rustc = callPackage ../development/compilers/rustc {};
rustPlatform = rustStable;