makeBinPath
lib.makeBinPath
Docs pulled from | This Revision | 12 minutes ago
Nixpkgs manual
Construct a binary search path (such as $PATH) containing the binaries for a set of packages.
Inputs
packages- List of packages
Type
makeBinPath :: [Derivation] -> String
Examples
lib.strings.makeBinPath usage example
makeBinPath ["/root" "/usr" "/usr/local"]
=> "/root/bin:/usr/bin:/usr/local/bin"
Noogle detected
Implementation
The following is the current implementation of this function.
pkgs:
makeSearchPath subDir (map (lib.getOutput output) pkgs)