0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

makeSearchPathOutputs: refactor to makeSearchPathOutput

This commit is contained in:
Nikolay Amiantov 2016-04-14 18:14:28 +03:00
parent 7d3e75827b
commit ab0a0c004e
18 changed files with 21 additions and 22 deletions

View file

@ -193,7 +193,7 @@ in rec {
path = mkOption {
default = [];
apply = ps: "${makeBinPath ps}:${makeSearchPathOutputs "sbin" ["bin"] ps}";
apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
description = ''
Packages added to the service's <envar>PATH</envar>
environment variable. Both the <filename>bin</filename>