From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Vong Subject: Re: Is there a way to upgrade only packages with substitutes? Date: Sat, 03 Aug 2019 08:03:33 +0800 Message-ID: <867e7vnmi2.fsf@gmail.com> References: <871ry38fl9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47870) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hthWg-0000aH-PN for guix-devel@gnu.org; Fri, 02 Aug 2019 20:04:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hthWf-0000l1-8p for guix-devel@gnu.org; Fri, 02 Aug 2019 20:03:58 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:40886) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hthWe-0000jt-87 for guix-devel@gnu.org; Fri, 02 Aug 2019 20:03:57 -0400 Received: by mail-pl1-x635.google.com with SMTP id a93so34153712pla.7 for ; Fri, 02 Aug 2019 17:03:53 -0700 (PDT) Received: from debian (42-3-197-086.static.netvigator.com. [42.3.197.86]) by smtp.gmail.com with ESMTPSA id q7sm84601379pff.2.2019.08.02.17.03.51 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 02 Aug 2019 17:03:51 -0700 (PDT) In-reply-to: <871ry38fl9.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain Hello Katherine, Katherine Cox-Buday writes: > Hey Guix! > > Very often I find myself updating systems only to get stuck on building > something large like LibreOffice or Un-Googled Chromium. Usually the > substitutes for these are available a few days later. > > It would be nice if I could pass a flag to `guix package -u` that would > disallow building in the event a substitute wasn't available. Is that > `--fallback=false`? If so, that's a double-negative; is there a clearer > way to represent both without acreting options? I don't think there is an option for this. It would certainly be helpful if there were one. Currently, my workaround is to create a manifest listing packages to be installed: https://notabug.org/alexvong1995/guix-package-declaration/src/master/manifest and run "guix package -m ./manifest" instead of "guix package -u". [emacs-guix users can run the interactive function `guix-apply-manifest' instead.] When there is a package without substitutes, I will stop the command, comment out the said package and re-run the command. I will also re-try after a few days when more substitutes are available. Hope this help! Cheers, Alex --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXUTPVgAKCRBh71Au9gJS 8ojqAQCu2fNb12kl8miF40tsq7U98ZakBzZAQzCqPTIv6rqTOgEAr+9+eHkauvKA /tK0bQgocJmGc+/uZhyQP3ctfiveKwY= =g2Um -----END PGP SIGNATURE----- --=-=-=--