summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRien Maertens <rien.maertens@posteo.be>2021-01-31 20:43:49 +0100
committerRien Maertens <rien.maertens@posteo.be>2021-01-31 21:26:55 +0100
commitaa86e0a7ae8079e7ba269f4556b0a5e3e843ff7c (patch)
tree1851c2effe85d3b54f8c7cd6639505f358a03f36
parent257cbbcd3ab7bd96f5d24d50adc807de7c82e06d (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.
-rw-r--r--pkgs/tools/security/rage/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix
index 69ea8c0f9c2c..54ceb59a9c7e 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