1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-15 21:08:21 +00:00

nixpkgs: change loeOf to listOf

This commit is contained in:
Daiderd Jordan 2017-10-06 19:57:47 +02:00
parent 9cbf0cc615
commit 91a6785102
No known key found for this signature in database
GPG key ID: D02435D05B810C96
3 changed files with 9 additions and 2 deletions

View file

@ -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 2017-10-01
- added system.stateVersion option, add this to your configuration to - added system.stateVersion option, add this to your configuration to
avoid breaking changes. This changelog and the activation checks avoid breaking changes. This changelog and the activation checks

View file

@ -33,7 +33,7 @@ in {
}; };
environment.systemPath = mkOption { environment.systemPath = mkOption {
type = types.loeOf types.str; type = types.listOf types.str;
description = "The set of paths that are added to PATH."; description = "The set of paths that are added to PATH.";
apply = x: if isList x then makeDrvBinPath x else x; apply = x: if isList x then makeDrvBinPath x else x;
}; };

View file

@ -37,7 +37,7 @@ let
}; };
path = mkOption { path = mkOption {
type = types.loeOf (types.either types.path types.str); type = types.listOf (types.either types.path types.str);
default = []; default = [];
description = '' description = ''
Packages added to the service's <envar>PATH</envar> Packages added to the service's <envar>PATH</envar>