query
On this page

getInclude

lib.attrsets.getInclude

Docs pulled from | This Revision | 10 minutes ago


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

Inputs

pkg

The package whose include output will be retrieved.

Type

getInclude :: Derivation -> Derivation

Examples

lib.attrsets.getInclude usage example

"${getInclude pkgs.openssl}"
=> "/nix/store/00000000000000000000000000000000-openssl-1.0.1r-dev"

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

getInclude = getFirstOutput [ "include" "dev" "out" ];