default.nix: run tests

This commit is contained in:
Astro 2019-10-02 21:30:44 +02:00
parent e1af02f77a
commit 86b5841119

View File

@ -53,7 +53,9 @@ let
];
"CC_${target}" = "${gcc}/bin/armv7l-unknown-linux-gnueabihf-gcc";
RUST_COMPILER_RT_ROOT = "${rustcSrc}/src/llvm-project/compiler-rt";
doCheck = false;
checkPhase = ''
cargo test --target=${hostPlatform.config}
'';
};
in {
inherit pkgs rustPlatform rustcSrc gcc firmware;