From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: bug#26608: Provide --only-substitutes flag to "guix package --upgrade" Date: Sat, 22 Apr 2017 11:03:35 -0500 Message-ID: <874lxg77l4.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1xW3-0006fd-Tn for bug-guix@gnu.org; Sat, 22 Apr 2017 12:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1xVy-0003pd-W8 for bug-guix@gnu.org; Sat, 22 Apr 2017 12:04:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36393) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1xVy-0003pZ-Sv for bug-guix@gnu.org; Sat, 22 Apr 2017 12:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d1xVy-0007Yz-J9 for bug-guix@gnu.org; Sat, 22 Apr 2017 12:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1xVf-0006O8-LA for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1xVa-0003jj-PQ for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:43 -0400 Received: from dustycloud.org ([50.116.34.160]:48852) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1xVa-0003jT-KG for bug-guix@gnu.org; Sat, 22 Apr 2017 12:03:38 -0400 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id A8EEC265EE for ; Sat, 22 Apr 2017 12:03:35 -0400 (EDT) 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: 26608@debbugs.gnu.org Sometimes I do an upgrade and I want to get the latest security updates, but I also am not really available to burn through a lot of cpu time, (especially on my x200). I'd love it if thre were a flag so that I could specify "only bother to upgrade the packages where we only upgrade if a substitute is already available. Note that I looked at the source to see if this would be an easy thing to add; I figured that this would be handled in roughly the same place as --keep-going or --fallback, but it looks to me like those are actually just passed over to the build daemon, so I'm not so sure how easy it would be to patch this in while we're still using Nix's C daemon? I'm not sure.