query
On this page

makeBinPath

lib.strings.makeBinPath

Docs pulled from | This Revision | about 2 hours ago


Construct a binary search path (such as $PATH) containing the binaries for a set of packages.

Inputs

packages
List of packages

Type

makeBinPath :: [package] -> string

Examples

lib.strings.makeBinPath usage example

makeBinPath ["/root" "/usr" "/usr/local"]
=> "/root/bin:/usr/bin:/usr/local/bin"

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

makeBinPath = makeSearchPathOutput "bin" "bin";