diff options
author | Rien Maertens <rien.maertens@posteo.be> | 2021-01-31 20:43:49 +0100 |
---|---|---|
committer | Rien Maertens <rien.maertens@posteo.be> | 2021-01-31 21:26:55 +0100 |
commit | aa86e0a7ae8079e7ba269f4556b0a5e3e843ff7c (patch) | |
tree | 1851c2effe85d3b54f8c7cd6639505f358a03f36 /pkgs/tools/security/rage | |
parent | 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d (diff) |
rage: skip check if not x86
rage has a dev-dependency which uses x86-only assembly and thus fails when performing the check phase. This sets `doCheck = false` for systems which are not x86.
Diffstat (limited to 'pkgs/tools/security/rage')
-rw-r--r-- | pkgs/tools/security/rage/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix index 69ea8c0f9c2cf..54ceb59a9c7e7 100644 --- a/pkgs/tools/security/rage/default.nix +++ b/pkgs/tools/security/rage/default.nix @@ -21,6 +21,9 @@ rustPlatform.buildRustPackage rec { Security ]; + # cargo test has an x86-only dependency + doCheck = stdenv.hostPlatform.isx86; + postBuild = '' cargo run --example generate-docs cargo run --example generate-completions |