[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix time-machine, broken hash in an old package definition, a worka
From: |
Wiktor Żelazny |
Subject: |
Re: guix time-machine, broken hash in an old package definition, a workaround? |
Date: |
Mon, 18 Jan 2021 09:57:31 +0100 |
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Ż
signature.asc
Description: PGP signature
- Re: guix time-machine, broken hash in an old package definition, a workaround?, (continued)
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Leo Famulari, 2021/01/13
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/13
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Leo Famulari, 2021/01/13
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/14
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/14
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/14
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/14
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/15
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/15
- Re: guix time-machine, broken hash in an old package definition, a workaround?,
Wiktor Żelazny <=
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/18
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/20
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/20
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/20
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/20
- Re: guix time-machine, broken hash in an old package definition, a workaround?, Wiktor Żelazny, 2021/01/22
- Re: guix time-machine, broken hash in an old package definition, a workaround?, zimoun, 2021/01/22