query
On this page

getDev

lib.attrsets.getDev

Docs pulled from | This Revision | about 1 hour ago


Get a package's dev output. If the output does not exist, fallback to .out and then to the default.

Inputs

pkg

The package whose dev output will be retrieved.

Type

getDev :: Derivation -> Derivation

Examples

lib.attrsets.getDev usage example

"${getDev pkgs.openssl}"
=> "/nix/store/9rz8gxhzf8sw4kf2j2f1grr49w8zx5vj-openssl-1.0.1r-dev"

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

getDev = getOutput "dev";