forked from mirrors/nixpkgs
makeRustPlatform: Remove self
argument
This commit is contained in:
parent
0ad8d0b127
commit
bed2a14afa
|
@ -2,7 +2,7 @@
|
||||||
targets ? [], targetToolchains ? [], targetPatches ? [] }:
|
targets ? [], targetToolchains ? [], targetPatches ? [] }:
|
||||||
|
|
||||||
let
|
let
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}) rustPlatform);
|
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
|
||||||
in
|
in
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
|
@ -5428,9 +5428,9 @@ in
|
||||||
|
|
||||||
cargo = rust.cargo;
|
cargo = rust.cargo;
|
||||||
rustc = rust.rustc;
|
rustc = rust.rustc;
|
||||||
rustPlatform = recurseIntoAttrs (makeRustPlatform rust rustPlatform);
|
rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
|
||||||
|
|
||||||
makeRustPlatform = rust: self:
|
makeRustPlatform = rust: lib.fix (self:
|
||||||
let
|
let
|
||||||
callPackage = newScope self;
|
callPackage = newScope self;
|
||||||
in {
|
in {
|
||||||
|
@ -5441,7 +5441,7 @@ in
|
||||||
buildRustPackage = callPackage ../build-support/rust {
|
buildRustPackage = callPackage ../build-support/rust {
|
||||||
inherit rust;
|
inherit rust;
|
||||||
};
|
};
|
||||||
};
|
});
|
||||||
|
|
||||||
rustfmt = callPackage ../development/tools/rust/rustfmt { };
|
rustfmt = callPackage ../development/tools/rust/rustfmt { };
|
||||||
rustracer = callPackage ../development/tools/rust/racer { };
|
rustracer = callPackage ../development/tools/rust/racer { };
|
||||||
|
|
Loading…
Reference in a new issue