GNU bug report logs - #31669
Allowing system-wide package replacements with 'guix system'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Rutger Helling <rhelling@HIDDEN>; dated Thu, 31 May 2018 14:46:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Changed bug title to 'Allowing system-wide package replacements with 'guix system'' from ''guix system' enhancements' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 31669 <at> debbugs.gnu.org:


Received: (at 31669) by debbugs.gnu.org; 2 Jun 2018 12:29:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 02 08:29:43 2018
Received: from localhost ([127.0.0.1]:58466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fP5fD-0003KC-6H
	for submit <at> debbugs.gnu.org; Sat, 02 Jun 2018 08:29:43 -0400
Received: from mx.kolabnow.com ([95.128.36.42]:65512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rhelling@HIDDEN>) id 1fP5fB-0003Jy-7G
 for 31669 <at> debbugs.gnu.org; Sat, 02 Jun 2018 08:29:41 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 3925C673;
 Sat,  2 Jun 2018 14:29:35 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h=
 content-type:content-type:mime-version:references:in-reply-to
 :message-id:subject:subject:from:from:date:date:received
 :received:received; s=dkim20160331; t=1527942573; x=1529756974;
 bh=aFY5KgobJlBb+hoZKrRSwS14tJYcAWhB95dpTZ/bgjg=; b=sqzXqIxeJ3TV
 0xN8sWphBwVZGw3EAEHvDoifRgNsIRR+0e1fMtUZ7S0ZcdzJFhbkVO61VHyAhPYH
 0wbTfYXobLT7boclU/vfwlQlIY5yd6LV5rAngAzAN9R57JMoOk58Q6LO4CFh0+09
 VDAIzyEed9jnCtaIZ/tF1bkLUK5CKVX3Ua4P1MQS4cIbJqRnB/646gkWizd0Yjl5
 iRLYf5zESbZegyoac2wjuFWQpuIH5Wm/L+cPqJurjYsfkHrnQyMLgbipbul/MDcK
 xLVRaW2v9zrxmCKKBjRz3LYL4oFSbqVrx+FgIrpjdKO9zXuN4ar8+RO34v3AUdGq
 JAJ/pYlwY2JUGYlWqEOm6k2bIrKIxE0Ke1OA7SEGJY+IVRBPTBnNzwTfHnV8W53J
 3i/ywXIpDJQ1KJ6htnk0Tn/LyBpmrK985rM+eGg6WyyZy0W/OHHx5XWWInKMR6hG
 mx/bMT0dln7voxiB7JT/7Mx0QDww3cKqYg38bV0tkTrNQ7DSITf7HGJSm4YM5S00
 RP91o/WehAsP9TbxKD8xrXVqI+n58M3nSpCV2m6gjxVMmWZQtO+13gIgUQqdnyGp
 W/Ggnfn1sWmam3rG5tCaD1aL/WrIOnUyi2FClBTGRxGI48wt0esA0ex4tcK843Zq
 VoMqCOSAdmWIrCwU3rdTPSDA8pFs1Bo=
X-Virus-Scanned: amavisd-new at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level: 
X-Spam-Status: No, score=-0.999 tagged_above=-10 required=4.5
 tests=[ALL_TRUSTED=-1, FREEMAIL_FROM=0.001] autolearn=disabled
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9CfTaistfxSA; Sat,  2 Jun 2018 14:29:33 +0200 (CEST)
Received: from int-mx002.mykolab.com (unknown [10.9.13.2])
 by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id BA09D24E;
 Sat,  2 Jun 2018 14:29:33 +0200 (CEST)
Received: from ext-subm003.mykolab.com (unknown [10.9.6.3])
 by int-mx002.mykolab.com (Postfix) with ESMTPS id 8E19120D8;
 Sat,  2 Jun 2018 14:29:33 +0200 (CEST)
Date: Sat, 2 Jun 2018 14:29:23 +0200
From: Rutger Helling <rhelling@HIDDEN>
To: ludo@HIDDEN (Ludovic =?UTF-8?B?Q291cnTDqHM=?=)
Subject: Re: bug#31669: 'guix system' enhancements
Message-ID: <20180602142923.048f3cac@HIDDEN>
In-Reply-To: <874lim8ctt.fsf@HIDDEN>
References: <20180531164438.1e7a6976@HIDDEN> <87bmcuackk.fsf@HIDDEN>
 <20180601164052.584cbd4d@HIDDEN> <874lim8ctt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/4b0xMeuhczUROLZ860NdDAD"; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31669
Cc: 31669 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--Sig_/4b0xMeuhczUROLZ860NdDAD
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

That's neat! I'll play around with it later, thanks for the tip.

On Fri, 01 Jun 2018 22:35:26 +0200
ludo@HIDDEN (Ludovic Court=C3=A8s) wrote:

> Hello,
>=20
> Rutger Helling <rhelling@HIDDEN> skribis:
>=20
> > That might cause confusion like you said, so I'm not sure if that
> > would be an improvement.
> >
> > I guess I was wondering whether there was an easy way to do
> > something like build your entire system with a newer Mesa, or use
> > LibreSSL instead of OpenSSL as mentioned. Of course you could
> > change your own git checkout, but that's not as elegant as
> > '--with-input/--with-graft' etc. =20
>=20
> Another option would be to operate at the derivation level rather than
> at the package level.  There=E2=80=99s a currently unused procedure called
> =E2=80=98map-derivation=E2=80=99 which is similar to what =E2=80=98--with=
-input=E2=80=99 does, except
> that it=E2=80=99s at the derivation level.  Example:
>=20
> --8<---------------cut here---------------start------------->8---
> scheme@(guile-user)> ,use(guix)
> scheme@(guile-user)> ,use(gnu)
> scheme@(guile-user)> (getcwd)
> $2 =3D "/home/ludo/src/guix/guix"
> scheme@(guile-user)> (define os (load
> "../gnu/system/examples/bare-bones.tmpl"))
> scheme@(guile-user)> ,run-in-store (operating-system-derivation os)
> $4 =3D
> #<derivation /gnu/store/x0ixll4myzk2s2g0lvq29qr5fx1hsgqi-system.drv
> =3D> /gnu/store/4igvd1ynxjv3hk8qpf0l9bpb2v157hjf-system 4c209b0>
> scheme@(guile-user)> ,use(gnu packages tls)
> scheme@(guile-user)> ,run-in-store (package->derivation openssl) $5 =3D
> #<derivation /gnu/store/8d4dim068nky5y8dls3p2nijc79jhhv1-openssl-1.0.2o.d=
rv
> =3D> /gnu/store/yvy6pj9b3rpb3wr98x0sjlxv5g9p5x5l-openssl-1.0.2o-doc /gnu/=
store/ggrpw6gh2rnqjwyjf99z8cdw5digc4hb-openssl-1.0.2o /gnu/store/9cdb2xydmm=
012v81l78jliird4f7dy25-openssl-1.0.2o-static
> 5594370> scheme@(guile-user)> ,run-in-store (package->derivation
> 5594370> libressl) substitute: updating list of substitutes from
> 5594370> 'https://berlin.guixsd.org'... 100.0% $6 =3D
> 5594370> #<derivation /gnu/store/2wds8bdyl25iqx63p2vv7fy05rbmq4s5-libress=
l-2.7.3.drv
> 5594370> =3D> /gnu/store/d9askfqx719bv3610kd6s3jqjh5rnfsh-libressl-2.7.3
> 5594370> 538b1e0> scheme@(guile-user)> (define s (open-connection))
> 5594370> 538b1e0> scheme@(guile-user)> (map-derivation s $4
> 5594370> 538b1e0> `((,$5 . ,$6)))
> $7 =3D
> #<derivation /gnu/store/g9xxa9fkiaij5i9g8s71b04yswi69cig-system.drv
> =3D> /gnu/store/x5gyjvmq663jhd1pc1pc5w46hpcghvwd-system 618bf00>
> --8<---------------cut here---------------end--------------->8---
>=20
> It=E2=80=99s a bit of a sledgehammer and =E2=80=98map-derivation=E2=80=99=
 may be buggy on the
> edges, but worth exploring.  :-)
>=20
> HTH,
> Ludo=E2=80=99.


--Sig_/4b0xMeuhczUROLZ860NdDAD
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlsSjaMACgkQ86cn20T8
yjYv8Af+Oi/qebWjKLmYU0D44+O4o0e3wOKr54t7v+32e8YBrZ6+eBhRSRpUpI5+
FosYfbhMUEft9t7NK7yO+wLkmxOfoy0Yv/CNyC8an5AzXeKKMf69jvh+u2rw8lGu
/c89IoOW67iHfS5FoEIaoHURBmG98oqi/vzriOStk/t5NLx+eOI8FRMQfMh44TDv
Pt+OYQBjSasunm950tBd5vFDy3QGzMs2pYZ93gsDb6hjkoMmm8XN952NaAoU7Kg5
Z/mG0V/2iDG2XjwJY6GblWUXr/EPRwxO3BlCOybXgJ70ZkAGZh8yXFpwFz3b+CuN
eVZODz44XIaslR3+I+WN5vQBkDkNCw==
=ZowF
-----END PGP SIGNATURE-----

--Sig_/4b0xMeuhczUROLZ860NdDAD--




Information forwarded to bug-guix@HIDDEN:
bug#31669; Package guix. Full text available.

Message received at 31669 <at> debbugs.gnu.org:


Received: (at 31669) by debbugs.gnu.org; 1 Jun 2018 20:35:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 01 16:35:38 2018
Received: from localhost ([127.0.0.1]:58211 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fOqlt-00021g-NS
	for submit <at> debbugs.gnu.org; Fri, 01 Jun 2018 16:35:37 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39083)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fOqls-00021S-8z
 for 31669 <at> debbugs.gnu.org; Fri, 01 Jun 2018 16:35:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fOqll-00027T-92
 for 31669 <at> debbugs.gnu.org; Fri, 01 Jun 2018 16:35:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33286)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fOqlk-00024c-Le; Fri, 01 Jun 2018 16:35:28 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52928 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fOqlk-00013B-6C; Fri, 01 Jun 2018 16:35:28 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Rutger Helling <rhelling@HIDDEN>
Subject: Re: bug#31669: 'guix system' enhancements
References: <20180531164438.1e7a6976@HIDDEN> <87bmcuackk.fsf@HIDDEN>
 <20180601164052.584cbd4d@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 13 Prairial an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Fri, 01 Jun 2018 22:35:26 +0200
In-Reply-To: <20180601164052.584cbd4d@HIDDEN> (Rutger Helling's message
 of "Fri, 1 Jun 2018 16:40:52 +0200")
Message-ID: <874lim8ctt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31669
Cc: 31669 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello,

Rutger Helling <rhelling@HIDDEN> skribis:

> That might cause confusion like you said, so I'm not sure if that would
> be an improvement.
>
> I guess I was wondering whether there was an easy way to do something
> like build your entire system with a newer Mesa, or use LibreSSL=20
> instead of OpenSSL as mentioned. Of course you could change your own
> git checkout, but that's not as elegant as '--with-input/--with-graft'
> etc.

Another option would be to operate at the derivation level rather than
at the package level.  There=E2=80=99s a currently unused procedure called
=E2=80=98map-derivation=E2=80=99 which is similar to what =E2=80=98--with-i=
nput=E2=80=99 does, except
that it=E2=80=99s at the derivation level.  Example:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(guix)
scheme@(guile-user)> ,use(gnu)
scheme@(guile-user)> (getcwd)
$2 =3D "/home/ludo/src/guix/guix"
scheme@(guile-user)> (define os (load "../gnu/system/examples/bare-bones.tm=
pl"))
scheme@(guile-user)> ,run-in-store (operating-system-derivation os)
$4 =3D #<derivation /gnu/store/x0ixll4myzk2s2g0lvq29qr5fx1hsgqi-system.drv =
=3D> /gnu/store/4igvd1ynxjv3hk8qpf0l9bpb2v157hjf-system 4c209b0>
scheme@(guile-user)> ,use(gnu packages tls)
scheme@(guile-user)> ,run-in-store (package->derivation openssl)
$5 =3D #<derivation /gnu/store/8d4dim068nky5y8dls3p2nijc79jhhv1-openssl-1.0=
.2o.drv =3D> /gnu/store/yvy6pj9b3rpb3wr98x0sjlxv5g9p5x5l-openssl-1.0.2o-doc=
 /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4hb-openssl-1.0.2o /gnu/store/9cdb=
2xydmm012v81l78jliird4f7dy25-openssl-1.0.2o-static 5594370>
scheme@(guile-user)> ,run-in-store (package->derivation libressl)
substitute: updating list of substitutes from 'https://berlin.guixsd.org'..=
. 100.0%
$6 =3D #<derivation /gnu/store/2wds8bdyl25iqx63p2vv7fy05rbmq4s5-libressl-2.=
7.3.drv =3D> /gnu/store/d9askfqx719bv3610kd6s3jqjh5rnfsh-libressl-2.7.3 538=
b1e0>
scheme@(guile-user)> (define s (open-connection))
scheme@(guile-user)> (map-derivation s $4 `((,$5 . ,$6)))
$7 =3D #<derivation /gnu/store/g9xxa9fkiaij5i9g8s71b04yswi69cig-system.drv =
=3D> /gnu/store/x5gyjvmq663jhd1pc1pc5w46hpcghvwd-system 618bf00>
--8<---------------cut here---------------end--------------->8---

It=E2=80=99s a bit of a sledgehammer and =E2=80=98map-derivation=E2=80=99 m=
ay be buggy on the
edges, but worth exploring.  :-)

HTH,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#31669; Package guix. Full text available.

Message received at 31669 <at> debbugs.gnu.org:


Received: (at 31669) by debbugs.gnu.org; 1 Jun 2018 14:41:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 01 10:41:12 2018
Received: from localhost ([127.0.0.1]:58126 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fOlEu-00027D-HO
	for submit <at> debbugs.gnu.org; Fri, 01 Jun 2018 10:41:12 -0400
Received: from mx.kolabnow.com ([95.128.36.41]:24886)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rhelling@HIDDEN>) id 1fOlEs-00026z-51
 for 31669 <at> debbugs.gnu.org; Fri, 01 Jun 2018 10:41:10 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 1FA98592;
 Fri,  1 Jun 2018 16:41:04 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h=
 content-type:content-type:mime-version:references:in-reply-to
 :message-id:subject:subject:from:from:date:date:received
 :received:received; s=dkim20160331; t=1527864062; x=1529678463;
 bh=80QcFupjt5f2gxaVYVGSsEzE3sP3lwmkZHqL1M+gVJo=; b=w355e4lXMuRf
 cH9pUiZoR+Qn7eNA2w2OpM2JvTX7sanl331kTslsQ41yxadLP3h8/DPEKta9yX8T
 0OTSX5++jbkcj6lBgu4BuuT4+YV2d+Y9YShHppOSSIupaKU01tDeTT5bAaiPIp1O
 JX9o+cqY7o5wvolj/AVBvUcXrmXOlwKD69UGnQpd8J3ryATj2oNuL65fdadTkUbQ
 lUdmfO8TuRkUdFlTTKkNE4Vl9+/VSf2JkyKy2ENss/YvxHa2tIhgyuICqoGfhRX4
 8QFB9esw5uvtQyY69Z4mCGCAedB0XYvUgVGnKoten9TrbfIiRVRdbiZ8vPkNCqYl
 VuVKncF+TH07ND6iLTfCSyo7jfKX8/3wMCh6U2lGv0Fda243leQiwquwFxTqpTgr
 42vDCWx43tWZY+ZT8ph7Uc1V1hSD2U+eHwuK7SMqQft5bLUdnt2HKtWPYGz1/K0/
 Hz33BMb9y7QtTIBzK0oCn9RD7/4jEzfRy5h+ozZgsJM1cp4d/BB5f6MzWcr+ahKN
 AIQJumuWaOb9vdhUVG0yJKvMGRQFBoYDe0SHLEi9KQlVIAhip+F3io+7+JrVLucy
 Db11Jl4RiUucWZIyRuAeR2ZBrED6M5N2ARL8YF9+AggF+fGCwDmXD67h/ZU+vCLK
 fzJOOFAjhs9HQ0i0bbCa9Edk96ID9EU=
X-Virus-Scanned: amavisd-new at mykolab.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level: 
X-Spam-Status: No, score=-0.999 tagged_above=-10 required=4.5
 tests=[ALL_TRUSTED=-1, FREEMAIL_FROM=0.001] autolearn=disabled
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 0a3VpongXOQ3; Fri,  1 Jun 2018 16:41:02 +0200 (CEST)
Received: from int-mx001.mykolab.com (unknown [10.9.13.1])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id E517320E;
 Fri,  1 Jun 2018 16:41:02 +0200 (CEST)
Received: from ext-subm003.mykolab.com (unknown [10.9.6.3])
 by int-mx001.mykolab.com (Postfix) with ESMTPS id BD9EC18C;
 Fri,  1 Jun 2018 16:41:02 +0200 (CEST)
Date: Fri, 1 Jun 2018 16:40:52 +0200
From: Rutger Helling <rhelling@HIDDEN>
To: ludo@HIDDEN (Ludovic =?UTF-8?B?Q291cnTDqHM=?=)
Subject: Re: bug#31669: 'guix system' enhancements
Message-ID: <20180601164052.584cbd4d@HIDDEN>
In-Reply-To: <87bmcuackk.fsf@HIDDEN>
References: <20180531164438.1e7a6976@HIDDEN>
	<87bmcuackk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/RUtXk2JpfW=A5thoHjw=HZ."; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 31669
Cc: 31669 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--Sig_/RUtXk2JpfW=A5thoHjw=HZ.
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Ludo,

That might cause confusion like you said, so I'm not sure if that would
be an improvement.

I guess I was wondering whether there was an easy way to do something
like build your entire system with a newer Mesa, or use LibreSSL=20
instead of OpenSSL as mentioned. Of course you could change your own
git checkout, but that's not as elegant as '--with-input/--with-graft'
etc.

Another option would be to make your own transformed packages and add
those as services instead of the regular versions. Unfortunately a lot
of services right now don't have that option (OpenSSH for example).
Plus you're pretty liable to make a mistake that way.

On Fri, 01 Jun 2018 14:58:03 +0200
ludo@HIDDEN (Ludovic Court=C3=A8s) wrote:

> Hello,
>=20
> Rutger Helling <rhelling@HIDDEN> skribis:
>=20
> > This isn't really a bug, but I noticed that 'guix system' right now
> > cannot use certain common build options like 'with-input'. I don't
> > know how hard it would be to add that, because I think it could be
> > pretty useful for something like the following for example:
> >
> > guix system reconfigure --with-input=3Dopenssl=3Dlibressl system.scm =20
>=20
> Note that =E2=80=98--with-input=E2=80=99 & co. are *package* transformati=
on options,
> so the question is which packages we=E2=80=99d apply them to.
>=20
> We could take those options as applying to all the packages in the
> global profile, but it may not be exactly what people would expect
> because it would not apply to packages used by Shepherd services.
>=20
> WDYT?
>=20
> Ludo=E2=80=99.


--Sig_/RUtXk2JpfW=A5thoHjw=HZ.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlsRWvUACgkQ86cn20T8
yjaR8wf+P+LR0wF5iWr4qx7hP7n8Y6DhfLE//l3uhMX05RSGyh39rU4KSsZxpnOU
NDr5LpS18m72jiHVhRJaNct8+z3dj3wpxi02l/7pwjzFx1z0Zn2ARdB0g1oN28fe
b/iIGh0T4Ku+XcVx3fq4zFK1dK4vn5SW4/y+5u/mMcH0vXDY4REM4dYgsRvJCUxV
AzDXJrfnV3j+gXLpNjyljxumW6X63L1d/GJ34P+ni2UjXQt5uTSTkhRPHjUKP15f
feRh5NFYeMszxZHcKwXBxdI+w9U1Vyh2GbemsatS09m+CqsRK2TKXneTFZr7j9fK
469E4ZvQVY2vSNNkAN1GBah6NMuI8w==
=d9rE
-----END PGP SIGNATURE-----

--Sig_/RUtXk2JpfW=A5thoHjw=HZ.--




Information forwarded to bug-guix@HIDDEN:
bug#31669; Package guix. Full text available.

Message received at 31669 <at> debbugs.gnu.org:


Received: (at 31669) by debbugs.gnu.org; 1 Jun 2018 12:58:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 01 08:58:18 2018
Received: from localhost ([127.0.0.1]:56937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fOjdJ-0007f1-UV
	for submit <at> debbugs.gnu.org; Fri, 01 Jun 2018 08:58:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56280)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1fOjdI-0007en-9C
 for 31669 <at> debbugs.gnu.org; Fri, 01 Jun 2018 08:58:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1fOjd8-0008PG-5p
 for 31669 <at> debbugs.gnu.org; Fri, 01 Jun 2018 08:58:11 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53189)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1fOjd8-0008P7-1g; Fri, 01 Jun 2018 08:58:06 -0400
Received: from [193.50.110.154] (port=46192 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1fOjd7-0006JU-Jt; Fri, 01 Jun 2018 08:58:05 -0400
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Rutger Helling <rhelling@HIDDEN>
Subject: Re: bug#31669: 'guix system' enhancements
References: <20180531164438.1e7a6976@HIDDEN>
Date: Fri, 01 Jun 2018 14:58:03 +0200
In-Reply-To: <20180531164438.1e7a6976@HIDDEN> (Rutger Helling's message
 of "Thu, 31 May 2018 16:44:38 +0200")
Message-ID: <87bmcuackk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 31669
Cc: 31669 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

Hello,

Rutger Helling <rhelling@HIDDEN> skribis:

> This isn't really a bug, but I noticed that 'guix system' right now canno=
t use certain common build
> options like 'with-input'. I don't know how hard it would be to add
> that, because I think it could be pretty useful for something like the
> following for example:
>
> guix system reconfigure --with-input=3Dopenssl=3Dlibressl system.scm

Note that =E2=80=98--with-input=E2=80=99 & co. are *package* transformation=
 options, so
the question is which packages we=E2=80=99d apply them to.

We could take those options as applying to all the packages in the
global profile, but it may not be exactly what people would expect
because it would not apply to packages used by Shepherd services.

WDYT?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#31669; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 May 2018 14:45:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 31 10:45:28 2018
Received: from localhost ([127.0.0.1]:56129 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fOOpU-0006DJ-Gu
	for submit <at> debbugs.gnu.org; Thu, 31 May 2018 10:45:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56977)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rhelling@HIDDEN>) id 1fOOpR-0006D2-M0
 for submit <at> debbugs.gnu.org; Thu, 31 May 2018 10:45:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rhelling@HIDDEN>) id 1fOOpL-0004wp-R4
 for submit <at> debbugs.gnu.org; Thu, 31 May 2018 10:45:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41829)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rhelling@HIDDEN>)
 id 1fOOpL-0004wT-NG
 for submit <at> debbugs.gnu.org; Thu, 31 May 2018 10:45:19 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:47942)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rhelling@HIDDEN>) id 1fOOpK-0000so-Fq
 for bug-guix@HIDDEN; Thu, 31 May 2018 10:45:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rhelling@HIDDEN>) id 1fOOpH-0004qH-Cv
 for bug-guix@HIDDEN; Thu, 31 May 2018 10:45:18 -0400
Received: from mx.kolabnow.com ([95.128.36.40]:7148)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rhelling@HIDDEN>) id 1fOOpH-0004fv-5s
 for bug-guix@HIDDEN; Thu, 31 May 2018 10:45:15 -0400
Received: from localhost (unknown [127.0.0.1])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 6F5993FE
 for <bug-guix@HIDDEN>; Thu, 31 May 2018 16:44:51 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h=
 content-type:content-type:mime-version:message-id:subject
 :subject:from:from:date:date:received:received:received; s=
 dkim20160331; t=1527777890; x=1529592291; bh=Gbi53jDk2qXdjUPK822
 pXvo5jb6avDmMdf/P8WSFmgg=; b=OKsVfhObUrOxJt9hFfsHxvnIP+gnKE8TNyv
 QPKcRocJxQdd6jvSBr1W0VMKiJLsULB38HDKGbT/vQTNBQ4JI2aopVyR0s1a4kBr
 QFTSZss1uJ76UDg6l7yPul0eLyNWa58lLa/u/ejVqN1Po3+gDe17F4CpxjWL4Zu4
 rzQnbqj1LZUGjFH+IAKaIm4RoLFRlvPNHHTnBQsWLafqnY0aSlq1QvD5sCfUNtsA
 5GOH4Td/VAOwfLbnKHtFBGQUOiWnxsfSWlMd5WriOK8vw0Ulw/nYBdkIpvH69O0u
 1CDU8PV4GjeKGkTGWIHcvi/Hoz3Ba/VtOjB6sFbl9HMX/rx9X9ag9ng6Ni3tlMZu
 tKiRZ6/gv5/T8jI3hdZVIN8a4OQ1mM5BJwj2q6Y3PSYKQwuZWojuomLtn2AUCpPG
 S+yBXX+TB4wNvktYgZtWVUqpY36TvMwrS+UywQM6mOq/BF2iJkSYHYmQ0hxEDvVt
 ki7C213x/BKHjVfIPwKkgsXZgCkfe/ASmzk64CEQnI06oNO13XhXj//pUsSLDIc7
 x29PO6Ned132QPuBwv7sfjtXPDhhy0IB06mmIbwzHZ2Md/dzFOYBRVhRxgrELM8B
 YWZHifcR/ZvoJOABdcfmFCuq16qZUnPoSAMJ8zqKUq9pe4/z50vKOQaRd7wxPml5
 IUn74Nuw=
X-Virus-Scanned: amavisd-new at mykolab.com
Received: from mx.kolabnow.com ([127.0.0.1])
 by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id zK_mNIeISx-y for <bug-guix@HIDDEN>;
 Thu, 31 May 2018 16:44:50 +0200 (CEST)
Received: from int-mx003.mykolab.com (unknown [10.9.13.3])
 by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 46F602C7
 for <bug-guix@HIDDEN>; Thu, 31 May 2018 16:44:50 +0200 (CEST)
Received: from ext-subm001.mykolab.com (unknown [10.9.6.1])
 by int-mx003.mykolab.com (Postfix) with ESMTPS id 34E03ABA
 for <bug-guix@HIDDEN>; Thu, 31 May 2018 16:44:50 +0200 (CEST)
Date: Thu, 31 May 2018 16:44:38 +0200
From: Rutger Helling <rhelling@HIDDEN>
To: bug-guix@HIDDEN
Subject: 'guix system' enhancements
Message-ID: <20180531164438.1e7a6976@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/ob4ITXVA3Vv7z/97dxJoyiE"; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

--Sig_/ob4ITXVA3Vv7z/97dxJoyiE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Guix,

This isn't really a bug, but I noticed that 'guix system' right now cannot =
use certain common build
options like 'with-input'. I don't know how hard it would be to add
that, because I think it could be pretty useful for something like the
following for example:

guix system reconfigure --with-input=3Dopenssl=3Dlibressl system.scm

WDYT?

--Sig_/ob4ITXVA3Vv7z/97dxJoyiE
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEAVThuRzJ2e93ZI3n86cn20T8yjYFAlsQClYACgkQ86cn20T8
yjYgkQf+MiPomwMgqRVgv6nMn+rNDMDq8EQnIEedyRC6FBU79iV7cz1hPP2kckFr
jbTL9tbwLSvXW1Yc6vkO6PPXe2+qh+/s6tzcx0HcP8DwKc5T9n5mfOq0JblWDoO6
pM1uu7AvO1UPXJMVQltE5nZHyCbbpdcRo2WNprGpe9N+kvDaxN105fFulEHJqOoU
vrQOmH7q2HPCVJ7Q5FNoPfyEqdBZzfNEB/A7iqsu2/12h8eQNDaF+p4f/my9tMRX
kyGBbSQM3TXbYzckx8xiBud8GhdnO+LK9nT6j3heDYzk80UQDkDIx6uUZNz1xOWd
M3vuG1Lrge/vFJDB02fD0F2kk+cx/g==
=v+jS
-----END PGP SIGNATURE-----

--Sig_/ob4ITXVA3Vv7z/97dxJoyiE--




Acknowledgement sent to Rutger Helling <rhelling@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#31669; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 15 Jun 2018 15:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.