Tanguy Le Carrour writes: > Le 11/01, Marius Bakke a écrit : >> Tanguy Le Carrour 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 > """ Can you try the build again with '--keep-failed', and send the output of "diffoscope /gnu/store/…-python-3.8.0{,-check}" ?