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:
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
|
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
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue