Merge pull request #90714 from Philipp-M/fix-nushell-checkphase
nushell: add checkPhase without --target which causes failing tests
This commit is contained in:
commit
701720bfe1
1 changed files with 7 additions and 0 deletions
|
@ -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