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:
parent
257cbbcd3a
commit
aa86e0a7ae
|
@ -21,6 +21,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
Security
|
Security
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# cargo test has an x86-only dependency
|
||||||
|
doCheck = stdenv.hostPlatform.isx86;
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
cargo run --example generate-docs
|
cargo run --example generate-docs
|
||||||
cargo run --example generate-completions
|
cargo run --example generate-completions
|
||||||
|
|
Loading…
Reference in New Issue