getLib
lib.attrsets.getLib
Docs pulled from | This Revision | 12 minutes ago
Get a package's lib
output.
If the output does not exist, fallback to .out
and then to the default.
Inputs
pkg
-
The package whose
lib
output will be retrieved.
Type
getLib :: Derivation -> Derivation
Examples
lib.attrsets.getLib
usage example
"${getLib pkgs.openssl}"
=> "/nix/store/9rz8gxhzf8sw4kf2j2f1grr49w8zx5vj-openssl-1.0.1r-lib"