nushell: add checkPhase without --target which causes failing tests

This commit is contained in:
Philipp Mildenberger 2020-06-18 08:27:18 +02:00
parent e0ece5aebe
commit 54bba2ee12

View file

@ -39,6 +39,13 @@ rustPlatform.buildRustPackage rec {
export HOME=$TMPDIR
'';
checkPhase = ''
runHook preCheck
echo "Running cargo test"
cargo test
runHook postCheck
'';
meta = with lib; {
description = "A modern shell written in Rust";
homepage = "https://www.nushell.sh/";