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:
Florian Klink
2020-06-19 00:25:32 +02:00
committed by GitHub

View File

@@ -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>