query
On this page

getBin

lib.attrsets.getBin

Docs pulled from | This Revision | 8 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"

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

getBin = getOutput "bin";