summaryrefslogtreecommitdiff
path: root/modules/environment/default.nix
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-10-07 10:17:45 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-10-07 10:17:45 +0200
commitaf0579f4a1386eafd665f147d0c6c14aba7916fe (patch)
treed94f3271aac6f5b7192d176db2fe65428071be87 /modules/environment/default.nix
parentafdcebc111eae904018f274e66f0468826b3d07c (diff)
system-path: fix type
Diffstat (limited to 'modules/environment/default.nix')
-rw-r--r--modules/environment/default.nix2
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;
};