Noogλe

search input

Function of the day

  • 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"