Tanguy Le Carrour <
address@hidden> ezt írta (időpont: 2019. nov. 4., H, 10:16):
Hi Marius!
Le 11/01, Marius Bakke a écrit :
> Tanguy Le Carrour <address@hidden> writes:
> > Oh, oh… what I forgot to mention is that… it's a shameless copy/paste of
> > the python-3.7 package and it would deserve a rewrite! Something like
> > `(inherit python-3.7)` and a modification of [source](patches) and
> > [source](snippet). But I'm not sure how to do that!
>
> Origins can also be inherited:
>
> (source (origin
> (inherit (package-source python-3.7))
> (uri ...)
> (sha256 ...)
> (patches (append (origin-patches (package-source python-3.7))
> (search-patches "python-3.8-adjust-tests.patch")))))
>
> That would inherit the snippet and any other properties that are not
> explicitly overridden.
Thanks for the snippet! I updated my package definition accordingly (see
attachment), but… `./pre-inst-env guix build --rounds=2 python@3.8`
always fails with:
"""
output ‘/gnu/store/…-python-3.8.0’ of ‘/gnu/store/…-python-3.8.0.drv’
differs from previous round
"""
I checked and I have the same problem with my previous version! :-(
Any idea welcome!!
Can you provide a diff? If it makes sense also a diffoscope output?
Eariler we had bytecode reproducibility problems, but this might be something
completely different...
--
Tanguy