help-guix
[Top][All Lists]
Advanced

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

Re: Is there any mechanism of Guix analog to, or trick in Guile to imita


From: Suhail Singh
Subject: Re: Is there any mechanism of Guix analog to, or trick in Guile to imitate Nix flakes?
Date: Sun, 16 Jun 2024 11:00:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

rczb <rc-zb@outlook.com> writes:

> During evaluation, Nix will generate a JSON file named `flake.lock`,
> which stores the exact revisions of the dependencies, just like the
> output of `guix describe -f channels`.

How would this be different from using, in Guix, say, a manifest file
(using the specification syntax along with specification->package) with
a channels.scm and then doing the build via guix time-machine?

> The lock file is not mandatory. You can delete it whenever you want an
> update, and the next invoking of `nix build` or something on the flake
> directory will just generate a new one that conforms what's written in
> `inputs` while being as up-to-date as possible to the upstream.

How would this be different than updating the channels.scm file?

-- 
Suhail



reply via email to

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