From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko@disroot.org Subject: Re: Is there a way to upgrade only packages with substitutes? Date: Sat, 03 Aug 2019 04:30:56 +0000 Message-ID: <30697aebc00280145b4769566fc9103d@disroot.org> References: <871ry38fl9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34281) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htlhE-0005xg-KS for guix-devel@gnu.org; Sat, 03 Aug 2019 00:31:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htlh9-0003A8-9Y for guix-devel@gnu.org; Sat, 03 Aug 2019 00:31:04 -0400 Received: from knopi.disroot.org ([178.21.23.139]:34902) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1htlh6-00037x-Go for guix-devel@gnu.org; Sat, 03 Aug 2019 00:31:01 -0400 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: Katherine Cox-Buday , guix-devel@gnu.org Hello, Katherine! I fuzzily remember this subject in maillists, maybe we = discussed this feature. And there were instruction of how to define in `g= uix package -u` those packages you won't update.=0AAlso I know guix has f= eature to check substitutes (`guix weather`, is it?).=0A=0AI think we nee= d a script that will do this:=0A1) guix pull=0A2) get a list of new packa= ges and dependencies that all will be updated=0A3) check which of them ha= ven't substitutes=0A4) run `guix package -u` without those packages that = have not substitutes.=0A4.1) or run `guix package -u` without only those = big packages you defined like 'not to update if they have no substitutes'= =0A=0AI think this can be done with guix features but this is hard work, = not for usual users.=0AAnd sure guix must have this feature.=0A=0A=0AAugu= st 2, 2019 8:42 PM, "Katherine Cox-Buday" wro= te:=0A=0A> Hey Guix!=0A> =0A> Very often I find myself updating systems o= nly to get stuck on building=0A> something large like LibreOffice or Un-G= oogled Chromium. Usually the=0A> substitutes for these are available a fe= w days later.=0A> =0A> It would be nice if I could pass a flag to `guix p= ackage -u` that would=0A> disallow building in the event a substitute was= n't available. Is that=0A> `--fallback=3Dfalse`? If so, that's a double-n= egative; is there a clearer=0A> way to represent both without acreting op= tions?=0A> =0A> -- =0A> Katherine