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: Sun, 04 Aug 2019 06:11:33 +0800 Message-ID: <86lfw9kiga.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]:33089) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu2Fx-00034s-B1 for guix-devel@gnu.org; Sat, 03 Aug 2019 18:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hu2Fw-0006qL-4d for guix-devel@gnu.org; Sat, 03 Aug 2019 18:12:05 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:38969) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hu2Fv-0006px-Sp for guix-devel@gnu.org; Sat, 03 Aug 2019 18:12:04 -0400 Received: by mail-pg1-x52b.google.com with SMTP id u17so37795107pgi.6 for ; Sat, 03 Aug 2019 15:12:03 -0700 (PDT) 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: cox.katherine.e@gmail.com, guix-devel@gnu.org --=-=-= Content-Type: text/plain [Forget to reply to OP, resending ...] 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----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXUYGlgAKCRBh71Au9gJS 8uRsAQDp5nkvg14Mx0lj9mm7YOkKvC96Q8bNanGip6asWCXOHwD9GEHoL4gG3YQD JZtgNwmgDjZ3mMYrKuujOQERVyy5vQY= =ARpE -----END PGP SIGNATURE----- --=-=-=--