pkgs/overlays/selfExpr: add missing parentheses in generated nix code

This commit is contained in:
Wroclaw 2024-07-07 09:08:49 +02:00
parent 1bd184f69f
commit 10b718fff3

View file

@ -25,11 +25,13 @@ self: super: {
in '' in ''
{ ... } @ args: { ... } @ args:
import ${nixpkgsPath} { import ${nixpkgsPath} (
{
${self.lib.optionalString useConfig configText} ${self.lib.optionalString useConfig configText}
} // builtins.removeAttrs args (builtins.fromJSON ''' } // builtins.removeAttrs args (builtins.fromJSON '''
${removedAttrNamesText} ${removedAttrNamesText}
''') ''')
)
''; '';
mkNixpkgsChannel = args: self.writeTextFile { mkNixpkgsChannel = args: self.writeTextFile {