Noogλe

search input

Function of the day

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

    Inputs

    pkg

    The package whose static output will be retrieved.

    Type

    getStatic :: Derivation -> Derivation
    

    Examples

    lib.attrsets.getStatic usage example

    "${lib.getStatic pkgs.glibc}"
    => "/nix/store/00000000000000000000000000000000-glibc-2.39-52-static"