makeRustPlatform: Remove `self` argument
commitbed2a14afaf720ca9f2c0f6a747ca8f8490ddbab
authorJohn Ericson <Ericson2314@Yahoo.com>
dateSat 9 Jul 2016, 00:01 (10 years ago)
parent0ad8d0b
pkgs/development/compilers/rust/default.nix+1−1
@@ -2,7 +2,7 @@
22 targets ? [], targetToolchains ? [], targetPatches ? [] }:
33
44let
5− rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}) rustPlatform);
5+ rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
66in
77
88rec {
pkgs/top-level/all-packages.nix+3−3
@@ -5428,9 +5428,9 @@ in
54285428
54295429 cargo = rust.cargo;
54305430 rustc = rust.rustc;
5431− rustPlatform = recurseIntoAttrs (makeRustPlatform rust rustPlatform);
5431+ rustPlatform = recurseIntoAttrs (makeRustPlatform rust);
54325432
5433− makeRustPlatform = rust: self:
5433+ makeRustPlatform = rust: lib.fix (self:
54345434 let
54355435 callPackage = newScope self;
54365436 in {
@@ -5441,7 +5441,7 @@ in
54415441 buildRustPackage = callPackage ../build-support/rust {
54425442 inherit rust;
54435443 };
5444− };
5444+ });
54455445
54465446 rustfmt = callPackage ../development/tools/rust/rustfmt { };
54475447 rustracer = callPackage ../development/tools/rust/racer { };