query
On this page

makeLibraryPath

lib.strings.makeLibraryPath

Docs pulled from | This Revision | 11 minutes ago


Construct a library search path (such as RPATH) containing the libraries for a set of packages

Inputs

packages
List of packages

Type

makeLibraryPath :: [package] -> string

Examples

lib.strings.makeLibraryPath usage example

makeLibraryPath [ "/usr" "/usr/local" ]
=> "/usr/lib:/usr/local/lib"
pkgs = import <nixpkgs> { }
makeLibraryPath [ pkgs.openssl pkgs.zlib ]
=> "/nix/store/9rz8gxhzf8sw4kf2j2f1grr49w8zx5vj-openssl-1.0.1r/lib:/nix/store/wwh7mhwh269sfjkm6k5665b5kgp7jrk2-zlib-1.2.8/lib"

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

makeLibraryPath = makeSearchPathOutput "lib" "lib";