guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --with-source version not honored?


From: Ludovic Courtès
Subject: Re: --with-source version not honored?
Date: Fri, 29 Oct 2021 16:02:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hi,

Phil Beadling <phil@beadling.co.uk> skribis:

> I was able to write a short manifest that avoided the overwriting of the
> original "foobarpy" package in my case, and instead cleanly replace it with
> a newer version specified using "with-source".
>
> By setting, for example, GUIX_FOOBAR_VERSION=1.23 and
> GUIX_TEST_PACKAGE=my-package - I can now create an environment which builds
> the version of foobarpy I want from an https link generated from
> GUIX_FOOBAR_VERSION, and then create a modified version of "my-package"
> with foobarpy replaced, rather than overwritten.

Nice!  For the record, there’s a ‘--with-latest’ option that I initially
intended to be ‘--with-version’, but the importer/updater code isn’t
capable enough yet.

> Anyway thought I'd share this here as a template for simple non-recursive
> cases.  I suspect it's not a massive effort to make it recursive, when I
> have a moment I'll have a think about that too.  Any thoughts on how to
> improve are welcome!

Thanks for sharing!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]