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:
parent
7d3e75827b
commit
ab0a0c004e
18 changed files with 21 additions and 22 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue