pkgs/overlays/selfExpr: add missing parentheses in generated nix code
This commit is contained in:
parent
1bd184f69f
commit
10b718fff3
1 changed files with 7 additions and 5 deletions
|
@ -25,11 +25,13 @@ self: super: {
|
||||||
in ''
|
in ''
|
||||||
{ ... } @ args:
|
{ ... } @ args:
|
||||||
|
|
||||||
import ${nixpkgsPath} {
|
import ${nixpkgsPath} (
|
||||||
${self.lib.optionalString useConfig configText}
|
{
|
||||||
} // builtins.removeAttrs args (builtins.fromJSON '''
|
${self.lib.optionalString useConfig configText}
|
||||||
${removedAttrNamesText}
|
} // builtins.removeAttrs args (builtins.fromJSON '''
|
||||||
''')
|
${removedAttrNamesText}
|
||||||
|
''')
|
||||||
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
mkNixpkgsChannel = args: self.writeTextFile {
|
mkNixpkgsChannel = args: self.writeTextFile {
|
||||||
|
|
Loading…
Reference in a new issue