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/applications/networking/browsers/castor | |
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/applications/networking/browsers/castor')
-rw-r--r-- | pkgs/applications/networking/browsers/castor/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/browsers/castor/default.nix b/pkgs/applications/networking/browsers/castor/default.nix index be3d8295f9915..daead82e48545 100644 --- a/pkgs/applications/networking/browsers/castor/default.nix +++ b/pkgs/applications/networking/browsers/castor/default.nix @@ -39,7 +39,7 @@ rustPlatform.buildRustPackage rec { postInstall = "make PREFIX=$out copy-data"; # Sometimes tests fail when run in parallel - cargoParallelTestThreads = false; + dontUseCargoParallelThreads = true; meta = with lib; { description = "A graphical client for plain-text protocols written in Rust with GTK. It currently supports the Gemini, Gopher and Finger protocols"; |