Hi Carlo,

Carlo Ascani via <[email protected]> writes:

Hi all,

I would like to create a shell with pinned versions of elm and make.

Questions:
- To pin a version of a package, is it enough to use <package>@<version>?
- Should I put in channels information?

In the manual I read this:
If you want to “pin” your software environment to specific package versions and variants, you need an additional piece of information: the list of channel revisions in use, as returned by guix describe.

The quoted part of the manual answers your question. The reason why this is so is that the version of a package available may change between channel revisions, so if you pin [email protected], then `guix pull', the HEAD of the channel defining the foo package may have updated it to 1.2.4, and then your profile breaks because it references a package which doesn’t exist.

 -- Ian

Reply via email to