mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
nixpkgs: change loeOf to listOf
This commit is contained in:
parent
9cbf0cc615
commit
91a6785102
3 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue