all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nils Landt <nils@landt.email>
To: Tomas Volf <~@wolfsden.cz>
Cc: help-guix@gnu.org
Subject: Re: How to use guix-for-channels together with -L without errors?
Date: Fri, 16 Aug 2024 06:40:15 +0200 (CEST)	[thread overview]
Message-ID: <127693834.445674.1723783215513@office.mailbox.org> (raw)
In-Reply-To: <Zr5bDZmXa1c_qs2w@ws>

> Tomas Volf <~@wolfsden.cz> hat am 15.08.2024 21:46 CEST geschrieben:
> 
> Now I have a different problem however.  Given a channel list with commits,
> hence resolving to the same code every time, it still gets pulled every time,
> and Guix derivation computed every time.  Illustrated here:
> 
>     /tmp/repro $ cat x.scm
>     (use-modules (guix channels)
>                  (gnu packages package-management))
> 
>     (guix-for-channels (list (channel
>                               (name 'guix)
>                               (url "https://git.wolfsden.cz/.git/guix")
>                               (commit
>                                "b03eddc326ee4eb26b25743faee2080de6aded7e")
>                               (introduction
>                                (make-channel-introduction
>                                 "028e445a2028068e3c83996daa281057f19141a0"
>                                 (openpgp-fingerprint
>                                  "B783 49B3 8C14 7D36 2988  68A4 2FBF EE7D B67F C1A9"))))))
>     /tmp/repro $ guix build -f x.scm
>     Updating channel 'guix' from Git repository at 'https://git.wolfsden.cz/.git/guix'...
>     Computing Guix derivation for 'x86_64-linux'... |
>     /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile
>     /tmp/repro $ guix build -f x.scm
>     Updating channel 'guix' from Git repository at 'https://git.wolfsden.cz/.git/guix'...
>     Computing Guix derivation for 'x86_64-linux'... |
>     /gnu/store/9i597ckynirxy4w5iv2wbmy288vc7gf0-profile
> 
> This does not seem necessary (it uses commit, so it does not change) and makes
> re-deploys *much* slower.  Would you happen to have magical trick for this as
> well?

Sorry to disappoint, I don't use Guix system, only Guix home, so no idea :(


      reply	other threads:[~2024-08-16  4:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14 22:24 How to use guix-for-channels together with -L without errors? Tomas Volf
2024-08-15 17:14 ` Nils Landt
2024-08-15 19:46   ` Tomas Volf
2024-08-16  4:40     ` Nils Landt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=127693834.445674.1723783215513@office.mailbox.org \
    --to=nils@landt.email \
    --cc=help-guix@gnu.org \
    --cc=~@wolfsden.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.