unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43238: `guix system build -n` to be more informative (builds/substitutes)
@ 2020-09-06 10:30 Vitaliy Shatrov
  2020-09-06 10:43 ` Ricardo Wurmus
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Vitaliy Shatrov @ 2020-09-06 10:30 UTC (permalink / raw)
  To: 43238

Hello Guix.

I did:
`guix system build -n config.scm`

I get a message, something like:
"3 packages (guix, modules, and ?) would be downloaded."

I ran `sudo guix system build config.scm`.  Guix told me it will build
the linux kernel.  It was unexpected.

The `guix system build/reconfigure` upgrades the daemon first. Right?

So, if `guix` cannot know beforehand will the User get any substitutes..
Maybe:
   * `guix` should stop and ask in case there is a build ahead?
   * add a separate 'update-daemon-only' command (or flag) to `system`?


Background:
With `update-daemon-only`, one can just walk away.  Then look-up, if any
builds are ahead.  Of course i understood that the system-wide config
should be keept minimal.  So not that big trouble: just i had an
substitute offered to me (for kernel), but (as `system build -n` didn't
warned me) decided to not use it (as i thought the kernel will not be
updated).  When i found out that kernel actually going to be build, i
canceled it.  Then switched to kernel that has substitute (same config,
different hash).


---
Thank You for the attention, Vitaliy.







^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-06 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-06 10:30 bug#43238: `guix system build -n` to be more informative (builds/substitutes) Vitaliy Shatrov
2020-09-06 10:43 ` Ricardo Wurmus
2020-09-06 13:38 ` Vitaliy Shatrov
2020-09-06 19:58 ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

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

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).