1
2
3
4
5
6
7
8
9
10
11
12
13
{ lib }:
let
inherit (lib.attrsets)
unionOfDisjoint
;
in
_: mod:
unionOfDisjoint
(removeAttrs mod [ "default" ])
(mod.default or { })
fork of https://github.com/nix-community/haumea
1
2
3
4
5
6
7
8
9
10
11
12
13
{ lib }:
let
inherit (lib.attrsets)
unionOfDisjoint
;
in
_: mod:
unionOfDisjoint
(removeAttrs mod [ "default" ])
(mod.default or { })