about summary refs log tree commit diff
path: root/users/Profpatsch/netencode
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-01-26T13·09+0100
committerProfpatsch <mail@profpatsch.de>2021-01-27T13·41+0000
commitf68781da1be5489892b566b050308916b4f58424 (patch)
tree85c5d0c8ea7867335487f58bb35086014d690078 /users/Profpatsch/netencode
parentb725e9b7e4682d7edea29d7f5ab4e9b82043f776 (diff)
chore(users/Profpatsch/netencode): netencode.nix -> gen.nix r/2149
Change-Id: I7ccbfe863fbff65015caa8c740b80c4bb5c59dc1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2446
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/netencode')
-rw-r--r--users/Profpatsch/netencode/default.nix4
-rw-r--r--users/Profpatsch/netencode/gen.nix (renamed from users/Profpatsch/netencode/netencode.nix)0
2 files changed, 2 insertions, 2 deletions
diff --git a/users/Profpatsch/netencode/default.nix b/users/Profpatsch/netencode/default.nix
index 80ff73aff549..f5f038579be6 100644
--- a/users/Profpatsch/netencode/default.nix
+++ b/users/Profpatsch/netencode/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, depot, ... }:
+{ depot, pkgs, lib, ... }:
 
 let
   imports = {
@@ -40,7 +40,7 @@ let
 
   netencode-rs = netencode-rs-common false;
 
-  gen = import ./netencode.nix;
+  gen = import ./gen.nix { inherit lib; };
 
   cfg-if = pkgs.buildRustCrate {
     pname = "cfg-if";
diff --git a/users/Profpatsch/netencode/netencode.nix b/users/Profpatsch/netencode/gen.nix
index 5f98f27f6779..5f98f27f6779 100644
--- a/users/Profpatsch/netencode/netencode.nix
+++ b/users/Profpatsch/netencode/gen.nix