aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2018-10-04 14:21:22 +1000
committerJustin Bedo <cu@cua0.org>2018-10-04 14:24:54 +1000
commitdd3666f6a069105e61f8889665cf55eed9a14e51 (patch)
treed39e91fe4dd4cf3ec2e1177f2bb04fd6c024d72e
parentb51c2989b0d354ab96077c6af559dc20c026d42f (diff)
Add defQsub function
-rw-r--r--default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 11f4d37..1a8f341 100644
--- a/default.nix
+++ b/default.nix
@@ -21,5 +21,6 @@ let
qsubAttrs = attrs: nixpkgs.lib.mapAttrs (_: x: qsubAttr attrs x);
ref = callBionix ./lib/references.nix {};
def = f: defs: attrs: f (defs // attrs);
+ defQsub = qsubAttrs: f: defs: qsubAttr qsubAttrs (def f defs);
});
in bionix