From: "Wiktor Żelazny" <wz@freeshell.de>
To: help-guix@gnu.org
Subject: Re: guix time-machine, broken hash in an old package definition, a workaround?
Date: Mon, 18 Jan 2021 09:57:31 +0100 [thread overview]
Message-ID: <20210118085731.b3x6b55riitrotdf@wzguix> (raw)
In-Reply-To: <86h7nikju3.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]
On Fri, Jan 15, 2021 at 09:48:20PM +0100, zimoun wrote:
> On Fri, 15 Jan 2021 at 21:18, Wiktor Żelazny <wz@freeshell.de> wrote:
>
> > A new idea: I just checked “CRAN Time Machine” at MRAN. The tarball with
> > the 0g4mi101srjbl17ydb2hl3854m3xj0llj6861lfr30sp08nkqavl hash is there.
> > I guess I can use `build --with-source=` now, maybe even `environment
> > --with-source=r-foreign=`?
>
> Oh, thanks for the pointer. Yeah, in this case it is possible to use
> --with-source, maybe combined with another trick to populate your store
> with the expected by d81fb2a tarball.
Hello again,
Unfortunately, it’s not the end of the story:
$ curl -o foreign_0.8-75.tar.gz https://cran.microsoft.com/snapshot/2020-01-27/src/contrib/foreign_0.8-75.tar.gz
$ guix time-machine --commit=d81fb2ae9443994ae5dd1cb5837276fad63f842c --channels=channel-specs.scm -- \
build --with-source=r-foreign=foreign_0.8-75.tar.gz r-foreign
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
building /gnu/store/xzsw0wiw223s07szh18kqlq2ynmmvlp8-r-foreign-75.drv...
[building]
successfully built /gnu/store/xzsw0wiw223s07szh18kqlq2ynmmvlp8-r-foreign-75.drv
The following graft will be made:
/gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-75.drv
applying 1 graft for /gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-75.drv...
grafting '/gnu/store/617x95s9ykd0va7r06g187y3dbwa3ddh-r-foreign-75' -> '/gnu/store/jvh9zyym3xmzy94g37gx5klg8rx72vfj-r-foreign-75'...
successfully built /gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-75.drv
/gnu/store/jvh9zyym3xmzy94g37gx5klg8rx72vfj-r-foreign-75
As you can see, there’s “-75” rather than “0.8-75” in the paths. Am I
doing something wrong or, perhaps, is this a Guix bug?
WŻ
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
next prev parent reply other threads:[~2021-01-18 8:58 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 13:22 guix time-machine, broken hash in an old package definition, a workaround? Wiktor Żelazny
2021-01-13 16:24 ` zimoun
2021-01-13 19:28 ` Wiktor Żelazny
2021-01-13 18:57 ` Leo Famulari
2021-01-13 19:37 ` Wiktor Żelazny
2021-01-13 20:44 ` Leo Famulari
2021-01-14 8:30 ` Wiktor Żelazny
2021-01-14 9:48 ` zimoun
2021-01-14 19:00 ` Wiktor Żelazny
2021-01-14 20:29 ` zimoun
2021-01-15 20:18 ` Wiktor Żelazny
2021-01-15 20:48 ` zimoun
2021-01-18 8:57 ` Wiktor Żelazny [this message]
2021-01-18 9:11 ` Wiktor Żelazny
2021-01-20 9:35 ` Wiktor Żelazny
2021-01-20 10:15 ` zimoun
2021-01-20 12:26 ` Wiktor Żelazny
2021-01-20 15:03 ` zimoun
2021-01-22 11:36 ` Wiktor Żelazny
2021-01-22 16:29 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118085731.b3x6b55riitrotdf@wzguix \
--to=wz@freeshell.de \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.