summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-06-07 02:15:58 +0200
committertv <tv@krebsco.de>2016-06-07 02:15:58 +0200
commit39ebd5001ebcbcc9d991784ec1ce6dd804dbdcd4 (patch)
tree358a72ed120083a8d882069820350001a0cd8b26 /krebs/4lib/default.nix
parentdda2887e2cf618a7c7744bee2eed806e3a38fe36 (diff)
getAttrDef: RIP
Diffstat (limited to 'krebs/4lib/default.nix')
-rw-r--r--krebs/4lib/default.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/krebs/4lib/default.nix b/krebs/4lib/default.nix
index 585bd313f..e984614a0 100644
--- a/krebs/4lib/default.nix
+++ b/krebs/4lib/default.nix
@@ -41,7 +41,6 @@ let out = rec {
mapAttrs (name: _: path + "/${name}")
(filterAttrs (_: eq "directory") (readDir path));
- getAttrDef = name: set: set.${name} or set.default or null;
mapAttrValues = f: mapAttrs (_: f);
setAttr = name: value: set: set // { ${name} = value; };