diff options
author | Philipp Mildenberger <philipp.mildenberger@koeln.de> | 2020-06-18 08:27:18 +0200 |
---|---|---|
committer | Philipp Mildenberger <philipp.mildenberger@koeln.de> | 2020-06-20 10:38:45 +0200 |
commit | 54bba2ee123c04b614fae06d7026959635bd2003 (patch) | |
tree | 7044be6e643ec5a1803aa070a52574d40b3429e6 | |
parent | e0ece5aebe886d11c9e14f054e0af3cec3a60636 (diff) | |
download | nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar.gz nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar.bz2 nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar.lz nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar.xz nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.tar.zst nixpkgs-54bba2ee123c04b614fae06d7026959635bd2003.zip |
nushell: add checkPhase without --target which causes failing tests
-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 5994e2829ed..a52cc4621cb 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/"; |