diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-06-28 18:18:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 18:18:09 +0200 |
commit | 701720bfe16918f35b1989e443113a79605303f7 (patch) | |
tree | 7f8f62adee4c4796d87fb9222ab6a77d3fd8fb9b /pkgs/shells | |
parent | bd0d0e935c54890dfd9e0f26dce80f72f4749ddb (diff) | |
parent | 54bba2ee123c04b614fae06d7026959635bd2003 (diff) |
Merge pull request #90714 from Philipp-M/fix-nushell-checkphase
nushell: add checkPhase without --target which causes failing tests
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/nushell/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/shells/nushell/default.nix b/pkgs/shells/nushell/default.nix index 5994e2829ed6..a52cc4621cb2 100644 --- a/pkgs/shells/nushell/default.nix +++ b/pkgs/shells/nushell/default.nix @@ -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/"; |