about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline
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/execline
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/execline')
-rw-r--r--pkgs/profpatsch/execline/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/profpatsch/execline/default.nix b/pkgs/profpatsch/execline/default.nix
index 0f0807b5..45d616e2 100644
--- a/pkgs/profpatsch/execline/default.nix
+++ b/pkgs/profpatsch/execline/default.nix
@@ -1,11 +1,10 @@
-{ pkgs, writeRustSimpleLib, testRustSimple, rust-deps }:
+{ pkgs, writeRustSimpleLib, rust-deps }:
 
 let
-  el-semicolon = testRustSimple
-    (writeRustSimpleLib "el_semicolon" {
-      release = false;
-      verbose = true;
-    } ./el_semicolon.rs);
+  el-semicolon = writeRustSimpleLib "el_semicolon" {
+    release = false;
+    verbose = true;
+  } ./el_semicolon.rs;
 
   el-exec = writeRustSimpleLib "el_exec" {
     dependencies = [ rust-deps.libc ];