3
0
Fork 0
forked from mirrors/nixpkgs

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
commit c1e7366483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>