forked from mirrors/nixpkgs
Merge pull request #91068 from flokli/nixos-systemd-unit-path-types
nixos/systemd: allow str in systemd.services.<name>.path
This commit is contained in:
commit
757ba1931f
|
@ -233,7 +233,7 @@ in rec {
|
|||
|
||||
path = mkOption {
|
||||
default = [];
|
||||
type = with types; listOf package;
|
||||
type = with types; listOf (oneOf [ package str ]);
|
||||
apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
|
||||
description = ''
|
||||
Packages added to the service's <envar>PATH</envar>
|
||||
|
|
Loading…
Reference in a new issue