Merge pull request #75510 from helsinki-systems/systemd-path-type

nixos/systemd: Use a proper type for unit paths
This commit is contained in:
Florian Klink
2020-06-18 23:50:42 +02:00
committed by GitHub

View File

@@ -233,6 +233,7 @@ in rec {
path = mkOption {
default = [];
type = with types; listOf package;
apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
description = ''
Packages added to the service's <envar>PATH</envar>