From aa86e0a7ae8079e7ba269f4556b0a5e3e843ff7c Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Sun, 31 Jan 2021 20:43:49 +0100 Subject: [PATCH] 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. --- pkgs/tools/security/rage/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix index 69ea8c0f9c2..54ceb59a9c7 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