Merge pull request #40416 from oxij/os/fix-some-types

nixos: fix some types
This commit is contained in:
xeji
2018-05-13 18:15:55 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -217,7 +217,7 @@ in rec {
environment = mkOption {
default = {};
type = with types; attrsOf (nullOr (either str package));
type = with types; attrsOf (nullOr (either str (either path package)));
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
description = "Environment variables passed to the service's processes.";
};