all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 53397-done@debbugs.gnu.org
Subject: bug#53397: --dry-run not effective on 'guix pull'
Date: Thu, 20 Jan 2022 15:27:27 -0500	[thread overview]
Message-ID: <87iluei24w.fsf@gmail.com> (raw)
In-Reply-To: <87mtjqi28a.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 20 Jan 2022 15:25:25 -0500")

Hi again,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> The 'guix pull' command a --dry-run option, per "guix pull --help", but
> it doesn't work:
>
> $ guix pull --commit=1995920f687020720d22bf8656fdde5ea1908747 --dry-run
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Updating channel 'sfl-packages' from Git repository at 'https://gitlab.com/Apteryks/sfl-guix-channel'...
> Building from these channels:
>   sfl-packageshttps://gitlab.com/Apteryks/sfl-guix-channel      6385881
>   guix      https://git.savannah.gnu.org/git/guix.git   1995920
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
> building /gnu/store/z3s04zx6cncpfffqhg1g8fkzyiiran54-compute-guix-derivation.drv...
> Computing Guix derivation for 'x86_64-linux'... |^C

It seems I should have been a bit more patient.  The full command read
as:

--8<---------------cut here---------------start------------->8---
$ guix pull --commit=1995920f687020720d22bf8656fdde5ea1908747 --dry-run
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Updating channel 'sfl-packages' from Git repository at 'https://gitlab.com/Apteryks/sfl-guix-channel'...
Building from these channels:
  sfl-packageshttps://gitlab.com/Apteryks/sfl-guix-channel      6385881
  guix      https://git.savannah.gnu.org/git/guix.git   1995920
Computing Guix derivation for 'x86_64-linux'... -
                                                                                                         \
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivations would be built:
   /gnu/store/y89p6mxyng59ql27bzkz6mpl29f4d42a-profile.drv
   /gnu/store/0zfzgpdir6xhnwhnshlam85mcld7ynnb-sfl-packages.drv
   /gnu/store/25rvqdz96f16hqnhlli6aajhcap70k40-guix-1995920f6.drv
   /gnu/store/ijail6rcqvl3nl115qwka2whn8l5mi24-guix-daemon.drv
   /gnu/store/wnr4j0hcjcfzcxc8jd8k44av5982nir2-guix-command.drv
   /gnu/store/dvlcml6mk0iy7zfjwyc3md0ahw6gghvd-guix-module-union.drv
   /gnu/store/yvisngmzfq2hprmhbwi1671y10zswmvh-guix-1995920f6-modules.drv
   /gnu/store/p5b0y71lhmlsga7f643acgcw50klr34q-guix-config-modules.drv
   /gnu/store/qvxcm42f8bdzj62l34jhyd53kci695mb-guix-config-source.drv
   /gnu/store/wjimxiq7npfrdhyzw61q50x6392pfc7c-config.scm.drv
   /gnu/store/slzxkifcrwx6vn1q0dkjgfsfbkij3hpy-guix-config.drv
   /gnu/store/pf123iw6bmf9c19lim91p4m16r0b9gl8-guix-core-modules.drv
   /gnu/store/zsrz3yk8r8261svnk80sd4407vn70wpq-guix-packages-modules.drv
   /gnu/store/ach8s5bsb30n04v584fnhfiq83nrkiy6-inferior-script.scm.drv
   /gnu/store/2ykcwnrmypv2sywjlqi548sjs3k3n47v-profile.drv
   /gnu/store/31p0x6jps8l8p7z5kkkncj8mpca9pyz6-inferior-script.scm.drv

2.2 MB would be downloaded
--8<---------------cut here---------------end--------------->8---

So the derivations had to be computed before the build plan could be
printed (which makes sense in retrospect).

Apologies, closing!

Maxim




      reply	other threads:[~2022-01-21  0:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 20:25 bug#53397: --dry-run not effective on 'guix pull' Maxim Cournoyer
2022-01-20 20:27 ` Maxim Cournoyer [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=87iluei24w.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=53397-done@debbugs.gnu.org \
    /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.