GNU bug report logs

#31669 Allowing system-wide package replacements with 'guix system'

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #17 received at 31669@debbugs.gnu.org (full text, mbox, reply):

Received: (at 31669) by debbugs.gnu.org; 2 Jun 2018 12:29:43 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1fP5fD-0003KC-6H
	for submit@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@mykolab.com>) id 1fP5fB-0003Jy-7G
 for 31669@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@mykolab.com>
To: ludo@gnu.org (Ludovic Courtès)
Subject: Re: bug#31669: 'guix system' enhancements
Message-ID: <20180602142923.048f3cac@mykolab.com>
In-Reply-To: <874lim8ctt.fsf@gnu.org>
References: <20180531164438.1e7a6976@mykolab.com> <87bmcuackk.fsf@gnu.org>
 <20180601164052.584cbd4d@mykolab.com> <874lim8ctt.fsf@gnu.org>
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@debbugs.gnu.org
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
[Message part 1 (text/plain, inline)]
That's neat! I'll play around with it later, thanks for the tip.

On Fri, 01 Jun 2018 22:35:26 +0200
ludo@gnu.org (Ludovic Courtès) wrote:

> Hello,
> 
> Rutger Helling <rhelling@mykolab.com> 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 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’s a currently unused procedure called
> ‘map-derivation’ which is similar to what ‘--with-input’ does, except
> that it’s 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 = "/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 =
> #<derivation /gnu/store/x0ixll4myzk2s2g0lvq29qr5fx1hsgqi-system.drv
> => /gnu/store/4igvd1ynxjv3hk8qpf0l9bpb2v157hjf-system 4c209b0>
> scheme@(guile-user)> ,use(gnu packages tls)
> scheme@(guile-user)> ,run-in-store (package->derivation openssl) $5 =
> #<derivation /gnu/store/8d4dim068nky5y8dls3p2nijc79jhhv1-openssl-1.0.2o.drv
> => /gnu/store/yvy6pj9b3rpb3wr98x0sjlxv5g9p5x5l-openssl-1.0.2o-doc /gnu/store/ggrpw6gh2rnqjwyjf99z8cdw5digc4hb-openssl-1.0.2o /gnu/store/9cdb2xydmm012v81l78jliird4f7dy25-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 =
> 5594370> #<derivation /gnu/store/2wds8bdyl25iqx63p2vv7fy05rbmq4s5-libressl-2.7.3.drv
> 5594370> => /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 =
> #<derivation /gnu/store/g9xxa9fkiaij5i9g8s71b04yswi69cig-system.drv
> => /gnu/store/x5gyjvmq663jhd1pc1pc5w46hpcghvwd-system 618bf00>
> --8<---------------cut here---------------end--------------->8---
> 
> It’s a bit of a sledgehammer and ‘map-derivation’ may be buggy on the
> edges, but worth exploring.  :-)
> 
> HTH,
> Ludo’.

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Sep 10 12:17:18 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.