unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26271: 'guix system' does not support common build option '--root'
@ 2017-03-27  4:54 Chris Marusich
  2017-03-27  8:58 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Marusich @ 2017-03-27  4:54 UTC (permalink / raw)
  To: 26271

[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]

Hi,

The manual says ((guix) Invoking guix system) that the options to 'guix
system' "can contain any of the common build options".  Although some
common build options (e.g. '--fallback') do seem to work, I have noticed
that the '--root' option does not.  Consider the following:

--8<---------------cut here---------------start------------->8---
[0] marusich@garuda:/tmp
$ GUIX_BUILD_OPTIONS=--root=foo guix system disk-image --image-size=1G ~/guix/gnu/system/install.scm
guix system: error: root=foo: unrecognized option
[1] marusich@garuda:/tmp
$ guix system disk-image --root=foo --image-size=1G ~/guix/gnu/system/install.scm
guix system: error: root=foo: unrecognized option
[1] marusich@garuda:/tmp
$ guix system disk-image -r foo --image-size=1G ~/guix/gnu/system/install.scm
guix system: error: r: unrecognized option
[1] marusich@garuda:/tmp
$ 
--8<---------------cut here---------------end--------------->8---

I expected the 'guix system' command to run normally and produce an
indirect GC root at path /tmp/foo.  Instead, the command failed.  The
'--root' option does work with 'guix build'.  Is the documentation
incorrect, or is this a bug?

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2017-04-06  8:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27  4:54 bug#26271: 'guix system' does not support common build option '--root' Chris Marusich
2017-03-27  8:58 ` Ludovic Courtès
2017-03-27 14:12   ` Chris Marusich
2017-04-04  7:39     ` Chris Marusich
2017-04-04 21:34       ` Ludovic Courtès
2017-04-06  7:05         ` Chris Marusich
2017-04-06  8:23           ` Ludovic Courtès

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