diff options
Diffstat (limited to 'users/Profpatsch/netencode/default.nix')
-rw-r--r-- | users/Profpatsch/netencode/default.nix | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/users/Profpatsch/netencode/default.nix b/users/Profpatsch/netencode/default.nix index 95d05a6ac7f5..52e51e2d6181 100644 --- a/users/Profpatsch/netencode/default.nix +++ b/users/Profpatsch/netencode/default.nix @@ -6,20 +6,16 @@ let writers; }; - netencode-rs-common = tests: imports.writers.rustSimpleLib { - name = "netencode"; - dependencies = [ - depot.users.Profpatsch.rust-crates.nom - depot.users.Profpatsch.execline.exec-helpers - ]; - buildTests = tests; - release = false; - verbose = true; - } (builtins.readFile ./netencode.rs); - - netencode-rs-tests = netencode-rs-common true; - - netencode-rs = netencode-rs-common false; + netencode-rs = imports.writers.testRustSimple + (imports.writers.rustSimpleLib { + name = "netencode"; + dependencies = [ + depot.users.Profpatsch.rust-crates.nom + depot.users.Profpatsch.execline.exec-helpers + ]; + release = false; + verbose = true; + } (builtins.readFile ./netencode.rs)); gen = import ./gen.nix { inherit lib; }; @@ -132,7 +128,6 @@ let in { inherit netencode-rs - netencode-rs-tests netencode-mustache record-get record-splice-env |