* 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
* bug#43238: `guix system build -n` to be more informative (builds/substitutes)
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
2 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2020-09-06 10:43 UTC (permalink / raw)
To: Vitaliy Shatrov; +Cc: 43238
Vitaliy Shatrov <guix.vits@disroot.org> writes:
> 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.
Are these the same “guix” programs? “sudo guix” probably gives you the
root user’s “guix”, whereas just “guix” will give you the current user’s
“guix”.
That’s why we recommend “sudo -E guix” or similar.
--
Ricardo
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#43238: `guix system build -n` to be more informative (builds/substitutes)
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
2 siblings, 0 replies; 4+ messages in thread
From: Vitaliy Shatrov @ 2020-09-06 13:38 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 43238
Hello Ricardo.
I made a typo: I do not need a root for `build`.
How it really was:
`guix system build -n config.scm`
---> 3 packages download
sudo guix system _RECONFIGURE_ config.scm
---> Hey-ho: building Linux!
C-c
edit config.scm, use kernel that has substitute.
guix build -n config.scm --substitute-url=URL
---> Will download Linux.
sudo guix sytem reconfugure config.scm
---> download, apply. ahm cool.
---
Am sorry, Vitaliy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#43238: `guix system build -n` to be more informative (builds/substitutes)
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
2 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2020-09-06 19:58 UTC (permalink / raw)
To: Vitaliy Shatrov, 43238
Hi Vitaliy,
I reported this issue in April as bug #40612, so this is a duplicate.
https://bugs.gnu.org/40612
That bug is still open, but it seems blocked on differences of opinion.
Mark
^ 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 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.