fix infinite recursion

This commit is contained in:
zimbatm 2020-04-22 17:17:40 +02:00
parent e2ad62c2e3
commit 49ccc18937
No known key found for this signature in database
GPG Key ID: 71BAF6D40C1D63D7
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ let
op = attrs: system:
let
ret = f system;
opt = attrs: key:
op = attrs: key:
attrs //
{
${key} = (attrs.${key} or {}) // { ${system} = ret.${key}; };

View File

@ -13,7 +13,7 @@
rec {
packages.hello = pkgs.hello;
defaultPackage = packages.hello;
apps.hello = utils.lib.mkApp packages.hello;
apps.hello = utils.lib.mkApp { drv = packages.hello; };
defaultApp = apps.hello;
}
);