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.
This commit is contained in:
Rien Maertens 2021-01-31 20:43:49 +01:00
parent 257cbbcd3a
commit aa86e0a7ae
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF

View File

@ -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