mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
replace makeSearchPath tree-wise to take care of possible multiple outputs
This commit is contained in:
parent
e26119619f
commit
8b7ebaffeb
56 changed files with 71 additions and 72 deletions
|
@ -193,7 +193,7 @@ in rec {
|
|||
|
||||
path = mkOption {
|
||||
default = [];
|
||||
apply = ps: "${makeSearchPath "bin" ps}:${makeSearchPath "sbin" ps}";
|
||||
apply = ps: "${makeBinPath ps}:${makeSearchPathOutputs "sbin" ["bin"] ps}";
|
||||
description = ''
|
||||
Packages added to the service's <envar>PATH</envar>
|
||||
environment variable. Both the <filename>bin</filename>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue