mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nushell: add checkPhase without --target which causes failing tests
This commit is contained in:
parent
e0ece5aebe
commit
54bba2ee12
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