Remove rec from template

It seems this is an anti-pattern, according to https://nix.dev/anti-patterns/language#rec-expression.

So, I suggest to remove it from there. Better not ship anti-patterns on templates, isn't it?
This commit is contained in:
Jairo Llopis 2022-01-12 08:30:37 +01:00 committed by Jairo Llopis
parent f07f509004
commit a71ffbe7c5
No known key found for this signature in database
GPG key ID: E47E3BE44B940490

View file

@ -24,11 +24,11 @@
overlays = [ self.overlay ]; overlays = [ self.overlay ];
}; };
in in
rec { {
apps = { apps = {
myapp = pkgs.myapp; myapp = pkgs.myapp;
}; };
defaultApp = apps.myapp; defaultApp = pkgs.myapp;
})); }));
} }