* Guix home - 'pinning' ?
@ 2023-06-11 22:08 jordila
2023-06-12 16:16 ` Robby Zambito
0 siblings, 1 reply; 4+ messages in thread
From: jordila @ 2023-06-11 22:08 UTC (permalink / raw)
To: help-guix
Hi Guixers
when using guix-home, is there a way to pin a given package to its current version, so that it stays as it is despite 'guix pull' bringing new commits ?
Thanks, thanks, thanks
F
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix home - 'pinning' ?
2023-06-11 22:08 Guix home - 'pinning' ? jordila
@ 2023-06-12 16:16 ` Robby Zambito
2023-06-13 15:06 ` Fenix Lopez
0 siblings, 1 reply; 4+ messages in thread
From: Robby Zambito @ 2023-06-12 16:16 UTC (permalink / raw)
To: jordila@librebits.info; +Cc: help-guix
Hi,
> when using guix-home, is there a way to pin a given package to its
> current version, so that it stays as it is despite 'guix pull'
> bringing new commits ?
In your (home-environment (packages ...)) list, you should specify the
package that has the correct version that you want. There are two ways
to do this. You can either create an inferior channel, and specify the
package by looking it up in that channel, or you can apply a
transformation to the package to specify the version.
Using an inferior package will pull the package from a previous version
of Guix - including all of its package inputs. This will pin all of the
transitive dependencies of the package as well. See: info guix Inferiors
for information on how to define an inferior, and how to select a
package from that inferior.
If you want to pin a package to a specific commit, version, branch, etc
of that package, you can use transformations. See: info guix "Defining
Package Variants" for how to use options->transformation, and info guix
"Package Transformation Options" for the available options you can set.
Hope this helps :)
Robby
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix home - 'pinning' ?
2023-06-12 16:16 ` Robby Zambito
@ 2023-06-13 15:06 ` Fenix Lopez
2023-06-13 20:02 ` Luis Felipe
0 siblings, 1 reply; 4+ messages in thread
From: Fenix Lopez @ 2023-06-13 15:06 UTC (permalink / raw)
To: help-guix
Hi !
Thanks for the clarifiction, Robby.
In order to give some more context , may i add the fact that the package
in question
is not being compiled/derived when entering the build phase ? In
consquence, the whole 'guix home reconfigure' gets stopped...
That's the underlaying reason why i was wondering how to pin that
'offending' package.
Umh... leaving package version 'pinning' aside, umh... Is there
another way to prevent such described scenario ? how to get ' guix home
reconfigure'
finish the whole process regardless the issue described ?
thanks, thanks , thnaks for your attention
F
On 12/6/23 18:16, Robby Zambito wrote:
> Hi,
>
>> when using guix-home, is there a way to pin a given package to its
>> current version, so that it stays as it is despite 'guix pull'
>> bringing new commits ?
> In your (home-environment (packages ...)) list, you should specify the
> package that has the correct version that you want. There are two ways
> to do this. You can either create an inferior channel, and specify the
> package by looking it up in that channel, or you can apply a
> transformation to the package to specify the version.
>
> Using an inferior package will pull the package from a previous version
> of Guix - including all of its package inputs. This will pin all of the
> transitive dependencies of the package as well. See: info guix Inferiors
> for information on how to define an inferior, and how to select a
> package from that inferior.
>
> If you want to pin a package to a specific commit, version, branch, etc
> of that package, you can use transformations. See: info guix "Defining
> Package Variants" for how to use options->transformation, and info guix
> "Package Transformation Options" for the available options you can set.
>
> Hope this helps :)
>
> Robby
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Guix home - 'pinning' ?
2023-06-13 15:06 ` Fenix Lopez
@ 2023-06-13 20:02 ` Luis Felipe
0 siblings, 0 replies; 4+ messages in thread
From: Luis Felipe @ 2023-06-13 20:02 UTC (permalink / raw)
To: Fenix Lopez, help-guix
[-- Attachment #1.1.1: Type: text/plain, Size: 797 bytes --]
Hi Fenix,
El 13/06/23 a las 15:06, Fenix Lopez escribió:
> In order to give some more context , may i add the fact that the
> package in question is not being compiled/derived when entering the
> build phase ? In consquence, the whole 'guix home reconfigure' gets
> stopped...
>
> That's the underlaying reason why i was wondering how to pin that
> 'offending' package.
>
> Umh... leaving package version 'pinning' aside, umh... Is there
> another way to prevent such described scenario ? how to get ' guix
> home reconfigure'
>
> finish the whole process regardless the issue described ?
If I understand correctly, you could add the following option to "guix
home reconfigure":
-k, --keep-going keep going when some of the derivations fail
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-13 20:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-11 22:08 Guix home - 'pinning' ? jordila
2023-06-12 16:16 ` Robby Zambito
2023-06-13 15:06 ` Fenix Lopez
2023-06-13 20:02 ` Luis Felipe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).