fix infinite recursion
This commit is contained in:
parent
e2ad62c2e3
commit
49ccc18937
|
@ -25,7 +25,7 @@ let
|
||||||
op = attrs: system:
|
op = attrs: system:
|
||||||
let
|
let
|
||||||
ret = f system;
|
ret = f system;
|
||||||
opt = attrs: key:
|
op = attrs: key:
|
||||||
attrs //
|
attrs //
|
||||||
{
|
{
|
||||||
${key} = (attrs.${key} or {}) // { ${system} = ret.${key}; };
|
${key} = (attrs.${key} or {}) // { ${system} = ret.${key}; };
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
rec {
|
rec {
|
||||||
packages.hello = pkgs.hello;
|
packages.hello = pkgs.hello;
|
||||||
defaultPackage = packages.hello;
|
defaultPackage = packages.hello;
|
||||||
apps.hello = utils.lib.mkApp packages.hello;
|
apps.hello = utils.lib.mkApp { drv = packages.hello; };
|
||||||
defaultApp = apps.hello;
|
defaultApp = apps.hello;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue