diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-08-29 12:29:48 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-08-29 12:47:05 +0200 |
commit | 43612e8e1abc4ea473b5e10efc10500c865d99e3 (patch) | |
tree | 4ecb3f4476856347b48d4dc5a99a919faa8a4cfc /pkgs/tools/misc/eva | |
parent | b8acd0bc7333086e5719799244cf7e04b1e426ca (diff) |
eva: fix build
Since b52808f1ad485da9e6202ed840140e434ede3c00 `cargo` respects the `$NIX_BUILD_CORES` variable by utilizing `--test-threads`. However, the `eva` package also parsed the arguments during the test-phase which caused a failure since `--test-threads` isn't expected by eva's argparser[1]. Ths fix is in a pending PR[2] that can be applied on top to fix the build. [1] https://hydra.nixos.org/build/126069084 [2] https://github.com/NerdyPepper/eva/pull/37
Diffstat (limited to 'pkgs/tools/misc/eva')
-rw-r--r-- | pkgs/tools/misc/eva/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/misc/eva/default.nix b/pkgs/tools/misc/eva/default.nix index 06b7b0a5200f2..e59c2387a3ce7 100644 --- a/pkgs/tools/misc/eva/default.nix +++ b/pkgs/tools/misc/eva/default.nix @@ -21,6 +21,12 @@ rustPlatform.buildRustPackage rec { url = "https://github.com/NerdyPepper/eva/commit/cacf51dbb9748b1dbe97b35f3c593a0a272bd4db.patch"; sha256 = "11q7dkz2x1888f3awnlr1nbbxzzfjrr46kd0kk6sgjdkyfh50cvv"; }) + + # to fix `cargo test -- --test-threads $NIX_BUILD_CORES` + (fetchpatch { + url = "https://github.com/NerdyPepper/eva/commit/ccfb3d327567dbaf03b2283c7e684477e2e84590.patch"; + sha256 = "003yxqlyi8jna0rf05q2a006r2pkz6pcwwfl3dv8zb6p83kk1kgj"; + }) ]; meta = with stdenv.lib; { |