aboutsummaryrefslogtreecommitdiff
path: root/pkgs/shells/nushell/default.nix
diff options
context:
space:
mode:
authorPhilipp Mildenberger <philipp.mildenberger@koeln.de>2020-06-18 08:27:18 +0200
committerPhilipp Mildenberger <philipp.mildenberger@koeln.de>2020-06-20 10:38:45 +0200
commit54bba2ee123c04b614fae06d7026959635bd2003 (patch)
tree7044be6e643ec5a1803aa070a52574d40b3429e6 /pkgs/shells/nushell/default.nix
parente0ece5aebe886d11c9e14f054e0af3cec3a60636 (diff)
nushell: add checkPhase without --target which causes failing tests
Diffstat (limited to 'pkgs/shells/nushell/default.nix')
-rw-r--r--pkgs/shells/nushell/default.nix7
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/";