mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
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:
parent
f07f509004
commit
a71ffbe7c5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue