diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-01 17:51:46 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-13 20:05:29 -0400 |
commit | 54b4b470c3a7149a7c459d92859a51c2e7a04cf7 (patch) | |
tree | f97f4dad603b9a4201451c15c938fcdc5b6b38c4 /pkgs/top-level | |
parent | 84d74ae9c9cbed73274b8e4e00be14688ffc93fe (diff) |
makeRustPlatform: Put back in it's own file.
We expose it on the top level, but I don't think it makes sense to pull
it from a specific version of the rust tools when it is in fact version
agnostic.
This reverts a tiny portion of 912dca193aee9da77a4d429285db53729d81aa3d.
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 11b24dfc3f77..fd38e0126d2c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9659,7 +9659,8 @@ in rustPackages = rustPackages_1_45; inherit (rustPackages) cargo clippy rustc rustPlatform; - inherit (rust) makeRustPlatform; + + makeRustPlatform = callPackage ../development/compilers/rust/make-rust-platform.nix {}; buildRustCrate = callPackage ../build-support/rust/build-rust-crate { }; buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { }; |