diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-10-07 10:17:45 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-10-07 10:17:45 +0200 |
| commit | af0579f4a1386eafd665f147d0c6c14aba7916fe (patch) | |
| tree | d94f3271aac6f5b7192d176db2fe65428071be87 /modules/environment/default.nix | |
| parent | afdcebc111eae904018f274e66f0468826b3d07c (diff) | |
system-path: fix type
Diffstat (limited to 'modules/environment/default.nix')
| -rw-r--r-- | modules/environment/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/environment/default.nix b/modules/environment/default.nix index 3c8bc06..7ad8e20 100644 --- a/modules/environment/default.nix +++ b/modules/environment/default.nix @@ -33,7 +33,7 @@ in { }; environment.systemPath = mkOption { - type = types.listOf types.str; + type = types.listOf (types.either types.path types.str); description = "The set of paths that are added to PATH."; apply = x: if isList x then makeDrvBinPath x else x; }; |
