From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 22 12:03:52 2017 Received: (at submit) by debbugs.gnu.org; 22 Apr 2017 16:03:52 +0000 Received: from localhost ([127.0.0.1]:34592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1xVo-0007YY-8Y for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1xVm-0007YJ-IC for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1xVg-0003lH-Q3 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1xVg-0003lA-N6 for submit@debbugs.gnu.org; Sat, 22 Apr 2017 12:03:44 -0400 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) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Christopher Allan Webber To: bug-guix@gnu.org Subject: 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 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.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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.