about summary refs log tree commit diff
path: root/users/Profpatsch/netencode
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-04-04T11·05+0200
committerProfpatsch <mail@profpatsch.de>2021-04-04T15·16+0000
commite7c78570ed66cd753add2664b7545d234c947b84 (patch)
tree9ffe37708d7d8e5c45db622721f5f9adfe2f4245 /users/Profpatsch/netencode
parent5319465f606a82629d41dfb96d73069e6735285b (diff)
feat(users/Profpatsch/writers): make testing default for rustSimple r/2434
This way we don’t have to explicitely wrap the rust crate with a
`testRustSimple`, but it will be done automatically, unless `doCheck`
is set to `false`.

Change-Id: I32a81821eeff620e7da57332b0873495bb85a843
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2841
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/Profpatsch/netencode')
-rw-r--r--users/Profpatsch/netencode/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/users/Profpatsch/netencode/default.nix b/users/Profpatsch/netencode/default.nix
index 206e382c74c6..b913c3e39d79 100644
--- a/users/Profpatsch/netencode/default.nix
+++ b/users/Profpatsch/netencode/default.nix
@@ -6,8 +6,7 @@ let
       writers;
   };
 
-  netencode-rs = imports.writers.testRustSimple
-    (imports.writers.rustSimpleLib {
+  netencode-rs = imports.writers.rustSimpleLib {
       name = "netencode";
       dependencies = [
         depot.third_party.rust-crates.nom
@@ -15,7 +14,7 @@ let
       ];
       release = false;
       verbose = true;
-    } (builtins.readFile ./netencode.rs));
+    } (builtins.readFile ./netencode.rs);
 
   gen = import ./gen.nix { inherit lib; };