diff options
author | Profpatsch <mail@profpatsch.de> | 2021-04-23 17:51:12 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-04-23 17:51:12 +0200 |
commit | a3bc43ce06d132453f1f3de3e395b8cda19a3fc9 (patch) | |
tree | f3ccd282c17c5c3ae35c0749752e346814d76d28 /pkgs/profpatsch/nman | |
parent | 1fe6dfaf8332462e5b1d75f60d7317050eee88bf (diff) |
pkgs/profpatsch/write-rust: alwyas run tests by default
testRustSimple wouldn’t work with all the rust functions, so let’s just use it internally and expose the tests via the conventional `doCheck` attribute instead.
Diffstat (limited to 'pkgs/profpatsch/nman')
-rw-r--r-- | pkgs/profpatsch/nman/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/profpatsch/nman/default.nix b/pkgs/profpatsch/nman/default.nix index f03c4502..31461999 100644 --- a/pkgs/profpatsch/nman/default.nix +++ b/pkgs/profpatsch/nman/default.nix @@ -1,10 +1,9 @@ { lib , writeRustSimpleBin -, testRustSimple , temp }: -testRustSimple (writeRustSimpleBin "nman" { +writeRustSimpleBin "nman" { meta = { license = lib.licenses.gpl3Only; description = "Open man page in a temporary nix-shell"; @@ -15,4 +14,4 @@ testRustSimple (writeRustSimpleBin "nman" { postInstall = '' install -Dm644 ${./nman.1} "$out/share/man/man1/nman.1" ''; -} ./nman.rs) +} ./nman.rs |