Skip to content

Package arguments

Package arguments are specified as a tuple of stability, channel, name, and version in the format: <stability>.<channel>.<name>@<version>.

The stability field is optional, defaulting to stable if not specified.

The channel field is similarly optional, defaulting to nixpkgs-flox if not specified.

The version field is also optional, defaulting to the most recent version if not specified.

For example, each of the following refers to the latest hello version 2.12 from the stable channel:

    [email protected]
    stable.nixpkgs-flox.hello
    [email protected]
    nixpkgs-flox.hello
    [email protected]
    hello

... and each of the following refers to the older hello version 2.10 from the stable channel:

... but only the following will refer to the older hello version 2.10 from the unstable channel:

Use of abbreviated form

Throughout this documentation we have used the default form if applicable (hello) in preference to the verbose form [email protected].