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