about summary refs log tree commit diff
path: root/pkgs/profpatsch/nman
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-04-23 17:51:12 +0200
committerProfpatsch <mail@profpatsch.de>2021-04-23 17:51:12 +0200
commita3bc43ce06d132453f1f3de3e395b8cda19a3fc9 (patch)
treef3ccd282c17c5c3ae35c0749752e346814d76d28 /pkgs/profpatsch/nman
parent1fe6dfaf8332462e5b1d75f60d7317050eee88bf (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.nix5
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