summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG7
-rw-r--r--modules/environment/default.nix2
-rw-r--r--modules/launchd/default.nix2
3 files changed, 9 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 9f021ed..94697e3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+2017-10-06
+- loeOf was removed from nixpkgs in 10881bbe11b2f66ebfa880795e5bc01a04158da4
+
+ Using single items instead of a list no longer works for
+ environment.systemPath and launchd.<serviceType>.<name>.path
+
+
2017-10-01
- added system.stateVersion option, add this to your configuration to
avoid breaking changes. This changelog and the activation checks
diff --git a/modules/environment/default.nix b/modules/environment/default.nix
index c68d0a4..3c8bc06 100644
--- a/modules/environment/default.nix
+++ b/modules/environment/default.nix
@@ -33,7 +33,7 @@ in {
};
environment.systemPath = mkOption {
- type = types.loeOf types.str;
+ type = types.listOf types.str;
description = "The set of paths that are added to PATH.";
apply = x: if isList x then makeDrvBinPath x else x;
};
diff --git a/modules/launchd/default.nix b/modules/launchd/default.nix
index 7505937..a6827ae 100644
--- a/modules/launchd/default.nix
+++ b/modules/launchd/default.nix
@@ -37,7 +37,7 @@ let
};
path = mkOption {
- type = types.loeOf (types.either types.path types.str);
+ type = types.listOf (types.either types.path types.str);
default = [];
description = ''
Packages added to the service's <envar>PATH</envar>