3
0
Fork 0
forked from mirrors/nixpkgs

nixos: systemd.globalEnvironment: fix type

Follow up fix of fb2a8d6669

https://github.com/NixOS/nixpkgs/pull/38356
https://github.com/NixOS/nixpkgs/pull/40416
This commit is contained in:
Silvan Mosberger 2018-07-18 22:04:26 +02:00
parent 4884f58f4e
commit 35c069ea02
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -515,7 +515,7 @@ in
};
systemd.globalEnvironment = mkOption {
type = with types; attrsOf (nullOr (either str package));
type = with types; attrsOf (nullOr (either str (either path package)));
default = {};
example = { TZ = "CET"; };
description = ''