3
0
Fork 0
forked from mirrors/nixpkgs

makeRustPlatform: Remove self argument

This commit is contained in:
John Ericson 2016-07-09 00:01:49 -07:00 committed by Moritz Ulrich
parent 0ad8d0b127
commit bed2a14afa
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
targets ? [], targetToolchains ? [], targetPatches ? [] }:
let
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}) rustPlatform);
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
in
rec {

View file

@ -5428,9 +5428,9 @@ in
cargo = rust.cargo;
rustc = rust.rustc;
rustPlatform = recurseIntoAttrs (makeRustPlatform rust rustPlatform);
rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
makeRustPlatform = rust: self:
makeRustPlatform = rust: lib.fix (self:
let
callPackage = newScope self;
in {
@ -5441,7 +5441,7 @@ in
buildRustPackage = callPackage ../build-support/rust {
inherit rust;
};
};
});
rustfmt = callPackage ../development/tools/rust/rustfmt { };
rustracer = callPackage ../development/tools/rust/racer { };