diff options
author | Justin Bedo <cu@cua0.org> | 2018-10-04 13:37:07 +1000 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2018-10-04 13:37:07 +1000 |
commit | d536b166aef53bc9a1c908aea1e034d255208aca (patch) | |
tree | a1c4dbba6be5eba40fb1dbf6a93572f9287285ec /default.nix | |
parent | fe68926931b280aaf29808566b49b2e704e8556a (diff) |
Add qsub function to override all attributes
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 9f96a9d..dee8d9a 100644 --- a/default.nix +++ b/default.nix @@ -17,6 +17,8 @@ let strelka = callBionix ./tools/strelka.nix {}; qsub = nixpkgs.callPackage ./lib/qsub.nix {}; + qsubAttr = qsubAttrs: f: attrs: i: qsub qsubAttrs (f attrs i); + qsubAttrs = attrs: nixpkgs.lib.mapAttrs (_: x: qsubAttr attrs x); ref = callBionix ./lib/references.nix {}; }); in bionix |