From mboxrd@z Thu Jan 1 00:00:00 1970 From: "RW. S" Subject: Override source uri of older version of a package? Date: Wed, 24 Feb 2016 22:22:03 +1100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYXW9-0002g4-Oa for help-guix@gnu.org; Wed, 24 Feb 2016 06:22:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYXW8-0004A6-LP for help-guix@gnu.org; Wed, 24 Feb 2016 06:22:05 -0500 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:34924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYXW8-00049q-DV for help-guix@gnu.org; Wed, 24 Feb 2016 06:22:04 -0500 Received: by mail-lb0-x233.google.com with SMTP id bc4so8409640lbc.2 for ; Wed, 24 Feb 2016 03:22:04 -0800 (PST) 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-bounces+gcggh-help-guix=m.gmane.org@gnu.org To: help-guix@gnu.org Probably not all of this relevant to subject line, but I will give full context anyway. I can't git clone anymore because "Problem with the SSL CA Cert". The weird thing is git (cloning) was working yesterday, and the only notable thing I think I did was `guix gc` (this is on a fresh barebones GuixSD install so I haven't really had the chance to do much). mark_weaver from irc said GIT_SSL_CAINFO needs to be set, which it is, to `/etc/ssl/certs/ca-certificates.crt`, but /etc/ssl is a symlink to /run/current-system/profile/etc/ssl which doesn't exist. Then mark_weaver said: xd1le: you need to add nss-certs to the 'packages' field of your OS config to include the CA certificates from Mozilla. and then rerun "guix system reconfigure" and then the certificates will be there. So I added nss-certs to packages, then I ran guix system reconfigure. But guix system reconfigure could not finish because it got stuck on a download which doesn't exist anymore. Specifically, it got stuck at downloading nss-3.19.2 via ftp from the following uri: ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_19_2_RTM/src/nss-3.19.2.tar.gz And the reason is mozilla has decommissioned their ftp (for this or whatever): https://bugzil.la/1250774 Now, if you use https:// protocol instead (so just the change the ftp:// at the start of that uri with https://), it works and I used guix download to confirm the resulting tarball has the same hash, at least for this package. So the question is, is it possible to change the source uri of an older package? I know I can create a new package object to override the one that guix has, but I don't want to do that, I want to keep everything the same, except *if something does need the older nss-3.19.2*, then it uses the working https:// source instead of the now not-working ftp:// one. (Note the latest nss is version 3.21, so I want to keep it like that.) This is all so that running `guix system reconfigure` again will work, of course.