forked from mirrors/nixpkgs
nushell: add checkPhase without --target which causes failing tests
This commit is contained in:
parent
e0ece5aebe
commit
54bba2ee12
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue