summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-12-11 21:59:41 +0100
committertv <tv@krebsco.de>2018-12-11 22:06:35 +0100
commitfacbcdafc891094fa62857089b13fcc9926a4485 (patch)
tree7a5d06685fb09ce7c1edcabefc8f9477fa8fbfcf
parent313712ebc2fc70adefd577f09f0d1795450b0b00 (diff)
lib.setAttr: RIP
-rw-r--r--lib/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index bf8c65e21..54597e5fd 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -29,8 +29,6 @@ let
listToAttrs (map (name: nameValuePair name set.${name})
(filter (flip hasAttr set) names));
- setAttr = name: value: set: set // { ${name} = value; };
-
test = re: x: isString x && testString re x;
testString = re: x: match re x != null;