From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Catriel" Subject: Re: enchant hash, fail to upgrade Date: Sun, 22 Sep 2019 19:38:39 -0300 Message-ID: <87y2ygrm6o.fsf@dc.uba.ar> References: <87a7awm8ze.fsf@dc.uba.ar> 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]:40326) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCAVL-0006pY-Fi for help-guix@gnu.org; Sun, 22 Sep 2019 18:38:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCAVH-0001fe-TQ for help-guix@gnu.org; Sun, 22 Sep 2019 18:38:55 -0400 Received: from mta0.exactas.uba.ar ([157.92.32.130]:42519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iCAVH-0001dn-3A for help-guix@gnu.org; Sun, 22 Sep 2019 18:38:51 -0400 In-Reply-To: (Julien Lepiller's message of "Sun, 22 Sep 2019 23:30:24 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller Cc: help-guix@gnu.org Julien Lepiller writes: > > Sorry I'm too tired to answer properly. Their is a section about contribu= ting in the manual. Have you read that? > yes, but I was asking a way or methodology to modify packages from guix and using them even when they are dependencies. Because just defining a package doesn't seem to handle that situation very well. As opose to inheriting emacs package definition, calling it awesome-mario-bros-emacs, patching it, and installing it. I was not interested so much on the details of contributing. > As a workaround, you can try guix package -u > --with-source=3Denchant=3D`guix download =E2=80=A6` where =E2=80=A6 is th= e url of the > sources you want to use. Iirc, it applies to dependencies recursively. > mmm the problem remaings the same. The source is accesible and downloads just fine, the issue here is with the package definition: it have a wrong sha256 (asuming that is the case and not a sec. vulnerability in upstream). So even if I download it manually and write: $guix upgrade --fallback --with-source=3Denchant=3Dpath-to-downloaded-file it's equivalent to let guix download the package by itself. When it tries to build the derivation the sha256 mismatch aborts the upgrade. > Good night, and good luck :) Have a good sleep! and really thank you for answering!