diff options
| author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-11-29 16:23:00 +0000 |
|---|---|---|
| committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-11-29 16:23:00 +0000 |
| commit | bc028dc1887d3efb9535b9404907c32955e9631f (patch) | |
| tree | 627f39de9448eec8f5dfa9cbc3a1690a5ceefac6 | |
| parent | Merge pull request #105305 from lopsided98/build-rust-crate-platform-hash (diff) | |
| download | nixpkgs-bc028dc1887d3efb9535b9404907c32955e9631f.tar.gz | |
buildRustCrateTests: Move to tests.buildRustCrate
I think it is preferable to separate the tests from the "real" packages.
| -rw-r--r-- | pkgs/test/default.nix | 1 | ||||
| -rw-r--r-- | pkgs/top-level/all-packages.nix | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index 8746f065b1bf..f45e981cff07 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -39,6 +39,7 @@ with pkgs; cross = callPackage ./cross {}; rustCustomSysroot = callPackage ./rust-sysroot {}; + buildRustCrate = callPackage ../build-support/rust/build-rust-crate/test { }; nixos-functions = callPackage ./nixos-functions {}; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 681b79afb1bf..17009595edba 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9949,7 +9949,6 @@ in buildRustCrate = callPackage ../build-support/rust/build-rust-crate { }; buildRustCrateHelpers = callPackage ../build-support/rust/build-rust-crate/helpers.nix { }; - buildRustCrateTests = recurseIntoAttrs (callPackage ../build-support/rust/build-rust-crate/test { }); cratesIO = callPackage ../build-support/rust/crates-io.nix { }; cargo-web = callPackage ../development/tools/cargo-web { |
