mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/misc/nixpkgs: fixed syntax error in overlays example
I was pointed towards a small syntax error in the `nixpkgs.overlays` documentation. There was a trailing semicolon after the overlay function. I also aligned the code a bit better so opening and closing brackets can be visually matched much better (IMO).
This commit is contained in:
parent
8bc70c937b
commit
45f58cad33
1 changed files with 4 additions and 3 deletions
|
@ -127,13 +127,14 @@ in
|
||||||
default = [];
|
default = [];
|
||||||
example = literalExample
|
example = literalExample
|
||||||
''
|
''
|
||||||
[ (self: super: {
|
[
|
||||||
|
(self: super: {
|
||||||
openssh = super.openssh.override {
|
openssh = super.openssh.override {
|
||||||
hpnSupport = true;
|
hpnSupport = true;
|
||||||
kerberos = self.libkrb5;
|
kerberos = self.libkrb5;
|
||||||
};
|
};
|
||||||
};
|
})
|
||||||
) ]
|
]
|
||||||
'';
|
'';
|
||||||
type = types.listOf overlayType;
|
type = types.listOf overlayType;
|
||||||
description = ''
|
description = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue