Hello Sébastien,

Sébastien Gendre <s...@k-7.ch> writes:

> Hello,
>
> In an `operating-system' declaration, is it possible to define the
> version of each package ?
>
> Like "prosody@0.12" ?
>
> My goal is to have more control of package updates when running a `guix
> system reconfigure' command.

This is not possible with guix system easily. Guix channel commonly keeps
only one version of a package in current source code, so you cannot just
specify older version to stay on, when you guix pull, and reconfigure,
everything will be at the versions that are declared in the channels.
If you aren't ready to update, use guix instance with same channels as
with previous reconfigure.

There are some exceptions, like gcc, where even older major versions are
kept, and there you can refer to older versions, either through symbols
or through specifications.

If you wanted to pin some packages, you can use inferiors, but they
aren't easy for achieving the goal you want of keeping packages at given
version until you want to update.

>
> Or maybe their is an option flag I missed on the command `guix system
> reconfigure' ? I checked the online dev documentation and the return of
> `guix system --help'.
>
>
>
> Best regards

Rutherther

Reply via email to