Merge pull request #90714 from Philipp-M/fix-nushell-checkphase

nushell: add checkPhase without --target which causes failing tests
This commit is contained in:
Maximilian Bosch 2020-06-28 18:18:09 +02:00 committed by GitHub
commit 701720bfe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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/";