about summary refs log tree commit diff
path: root/users/Profpatsch/netstring
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-02T13·54+0100
committerProfpatsch <mail@profpatsch.de>2021-01-03T16·29+0000
commit1261616bff04b6a5cb966778da8a336245c08979 (patch)
treec84718bf113e0ba06a92d243de84e694ab625f89 /users/Profpatsch/netstring
parente219c133280dde03f2bf5e763b23e67ddeae83e0 (diff)
feat(Profpatsch/writers): add rustSimple writers r/2056
A bunch of writer functions wrapping the `buildRustCrate`
functionality of nixpkgs. Can be used to write inline rust code, or
rust code read from files with `builtins.readFile`.

Change-Id: I9d74e9381b858b485925e4dc3fbb7fc392877c0a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2318
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/netstring')
-rw-r--r--users/Profpatsch/netstring/tests.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/Profpatsch/netstring/tests.nix b/users/Profpatsch/netstring/tests.nix
index 26853e13ee..0d4cee5276 100644
--- a/users/Profpatsch/netstring/tests.nix
+++ b/users/Profpatsch/netstring/tests.nix
@@ -7,7 +7,8 @@ let
       ;
   };
 
-  python-netstring-test = imports.writers.python3 "python-netstring" {
+  python-netstring-test = imports.writers.python3 {
+    name = "python-netstring";
     libraries = p: [
       python-netstring
     ];