summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/git.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-19 12:32:12 +0200
committermakefu <github@syntax-fehler.de>2016-10-19 12:32:12 +0200
commit0868101f2adc00f4e13a4ea242dc3bd23070917f (patch)
treea155571c2c448e51e5b1461228d7b46dda64a07f /krebs/4lib/git.nix
parentccd89b19f3fbbb6acb94be8f9f54d4e673ee33dc (diff)
parentce58a50de30fd49d4c000a81f9b7ce9baf0ccd66 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/4lib/git.nix')
-rw-r--r--krebs/4lib/git.nix7
1 files changed, 6 insertions, 1 deletions
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 = {};