From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#26271: 'guix system' does not support common build option '--root' Date: Mon, 27 Mar 2017 07:12:57 -0700 Message-ID: <87inmu3j12.fsf@gmail.com> References: <871stjfhfk.fsf@gmail.com> <87y3vrm6zi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csVPJ-0004S3-6D for bug-guix@gnu.org; Mon, 27 Mar 2017 10:14:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csVPG-0001PT-2D for bug-guix@gnu.org; Mon, 27 Mar 2017 10:14:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49311) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csVPF-0001PL-Tz for bug-guix@gnu.org; Mon, 27 Mar 2017 10:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1csVPF-0001YN-Jb for bug-guix@gnu.org; Mon, 27 Mar 2017 10:14:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y3vrm6zi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 27 Mar 2017 10:58:09 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 26271@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Chris, > > Chris Marusich skribis: > >> 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: > > That=E2=80=99s because =E2=80=98--root=E2=80=99 is not a =E2=80=9Ccommon = build option=E2=80=9D in the sense of > "(guix) Common Build Options". :-) > > That said, I agree we should either make it a common option (i.e., add > it to =E2=80=98%standard-build-options=E2=80=99 in (guix scripts build)) = or add it > explicitly to =E2=80=98guix system=E2=80=99. The latter may be simpler. > > Thoughts? As long as 'guix system' will create an indirect gc root as expected, regardless of whether '--root' was specified in the environment variable for build options or as a command-line option for the 'guix system' command, adding it explicitly to 'guix system' seems OK to me. I'll see if I can submit a patch later this week. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAljZHekACgkQ3UCaFdgi Rp1FwA//XFaMAMpjrYm863f+/cNK3Vm0LpOLR3cKaw9+ll0/lLxs8ldALheRZGv4 JKAAFRBeuQkq5m07p6ygLyM/Tbyx2mUIKUthUR4a6u3DJwNn2ACwcBcnoAijmrqI lf4khJAno1IUGaMTo8qpKkn19uxSBqRI5xTQ5EyRns97i70lWOweeKJQvguNYB/7 liGza+4OQx29PkuBJ8ZzwFD5vzssiqeKzTrBykPIRbQ6IkFhIXYvVOh3Cd95oKmq 0q8gc8IX/rXuxkJtnZcyWPSQMecsEBRmxnaBSriD0QdgalnZ9axF/15iy2bwk3Xq qHN90mgbL/Pq1qsD6I8djyVYn81rU62hW7mCCzyqKMSV1e7fZNumjpnxm0UiAS5G GVSDoLo7rZ8Rd6MqJSFASZL05CRwy0BnXfbgJ8mta6kZO4AUcoBwQKRCBFivuTa5 btnHupeYT/Gv0JlnCBztCIeu1ddmaUU3zy/Qu2gaJRYvVmxoieuz/ihKgzZ00ugt nf4rRd42CpDkMf2FVXmdqAAodrsJPDl6zuxf4DVQYRm0t9GoltTlaIZ3LsvxEnUp H6qk8AwVHyErjVsyQ4bV9foZlI/Rzk3lIAFRBkbsR5m+L2wKzyRhCvQlmcdRrs/o mTbR6rc3NgqtZt5ljqSLGtLhRLQ2H6TTtTSEg7u8H39BRZA1BxY= =WNH9 -----END PGP SIGNATURE----- --=-=-=--