diff options
author | Daniël de Kok <me@danieldk.eu> | 2021-02-15 10:26:40 +0100 |
---|---|---|
committer | Daniël de Kok <me@danieldk.eu> | 2021-02-16 08:09:15 +0100 |
commit | 05e40e79a8559cdbe323ab05e003d56033000ee8 (patch) | |
tree | c4a1ff0bca75bc2689c33a04708678b6a551cdb2 /pkgs/development/tools/the-way | |
parent | 9757c7101a0527c001fa9e9832764d5dc106ff25 (diff) |
buildRustPackage: factor out check phase to cargoCheckHook
API change: `cargoParallelTestThreads` suggests that this attribute sets the number of threads used during tests, while it is actually a boolean option (use 1 thread or NIX_BUILD_CORES threads). In the hook, this is replaced by a more canonical name `dontUseCargoParallelTests`.
Diffstat (limited to 'pkgs/development/tools/the-way')
-rw-r--r-- | pkgs/development/tools/the-way/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/the-way/default.nix b/pkgs/development/tools/the-way/default.nix index e8f52fa83345a..6d7fbef2f19b7 100644 --- a/pkgs/development/tools/the-way/default.nix +++ b/pkgs/development/tools/the-way/default.nix @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-jTZso61Lyt6jprBxBAhvchgOsgM9y1qBleTxUx1jCnE="; checkFlagsArray = lib.optionals stdenv.isDarwin [ "--skip=copy" ]; - cargoParallelTestThreads = false; + dontUseCargoParallelTests = true; postInstall = '' $out/bin/the-way config default tmp.toml |