summaryrefslogtreecommitdiffstats
path: root/krebs/4lib
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/4lib')
-rw-r--r--krebs/4lib/default.nix5
-rw-r--r--krebs/4lib/git.nix7
2 files changed, 6 insertions, 6 deletions
diff --git a/krebs/4lib/default.nix b/krebs/4lib/default.nix
index c901a1bde..cf5395039 100644
--- a/krebs/4lib/default.nix
+++ b/krebs/4lib/default.nix
@@ -13,11 +13,6 @@ let out = lib // rec {
mod = x: y: x - y * (x / y);
- addName = name: set:
- set // { inherit name; };
-
- addNames = mapAttrs addName;
-
guard = spec@{ type, value, ... }:
assert isOptionType type;
if type.check value
diff --git a/krebs/4lib/git.nix b/krebs/4lib/git.nix
index d50ba2018..005c017a9 100644
--- a/krebs/4lib/git.nix
+++ b/krebs/4lib/git.nix
@@ -1,7 +1,12 @@
{ lib, ... }:
+with lib;
+
let
- inherit (lib) addNames escapeShellArg makeSearchPath optionalString;
+ addName = name: set:
+ set // { inherit name; };
+
+ addNames = mapAttrs addName;
commands = addNames {
git-receive-pack = {};