summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-10-13 21:01:22 +0200
committertv <tv@krebsco.de>2016-10-13 21:51:27 +0200
commit9cb65273b1e832f1bf7d98e977a0179c81d24b44 (patch)
treed29d023eb1882d50e198ddcde0d89c4119e41a1f /krebs/4lib/default.nix
parent6c71792b6d22c7564b187fa6891fb8d36270a9ef (diff)
lib: remove addName*
Diffstat (limited to 'krebs/4lib/default.nix')
-rw-r--r--krebs/4lib/default.nix5
1 files changed, 0 insertions, 5 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