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:
Andreas Rammhold 2019-05-04 17:29:04 +02:00
parent 8bc70c937b
commit 45f58cad33
No known key found for this signature in database
GPG key ID: 74908259861E8386

View file

@ -127,13 +127,14 @@ in
default = [];
example = literalExample
''
[ (self: super: {
[
(self: super: {
openssh = super.openssh.override {
hpnSupport = true;
kerberos = self.libkrb5;
};
};
) ]
})
]
'';
type = types.listOf overlayType;
description = ''