From 54bba2ee123c04b614fae06d7026959635bd2003 Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Thu, 18 Jun 2020 08:27:18 +0200 Subject: [PATCH] nushell: add checkPhase without --target which causes failing tests --- pkgs/shells/nushell/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) 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/";