[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26271: 'guix system' does not support common build option '--root'
From: |
Chris Marusich |
Subject: |
bug#26271: 'guix system' does not support common build option '--root' |
Date: |
Sun, 26 Mar 2017 21:54:23 -0700 |
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] address@hidden:/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] address@hidden:/tmp
$ guix system disk-image --root=foo --image-size=1G
~/guix/gnu/system/install.scm
guix system: error: root=foo: unrecognized option
[1] address@hidden:/tmp
$ guix system disk-image -r foo --image-size=1G ~/guix/gnu/system/install.scm
guix system: error: r: unrecognized option
[1] address@hidden:/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
signature.asc
Description: PGP signature
- bug#26271: 'guix system' does not support common build option '--root',
Chris Marusich <=