>ven. 02 mai 2025 at 04:12, "nomike (they/them)" <nom...@nomike.com> wrote:
> Hi! > > I'm trying to package a more recent nightly version of openscad[0] with this > package > definition[1]. > > Even though I use =(recursive? #t)= within =(git-reference)=, the submodule > directories in > the build directory (e.g. > =/tmp/guix-build-openscad-nightly--2025.04.28.535d96f.drv-5/source/libraries/MCAD=) > are > empty. > > My plan is to remove external libraries and use proper guix packages, but > specifically > =MCAD= is required. It's used only by OpenSCAD and it's not really a library, > so packaging > it separately doesn't make much sense. > > Any idea what I could be doing wrong? Might it be that guix downloads (no recursive) source code, and puts it in the store ? Afterwards, when you set the recursive? flag, it ignores it, and uses previous code from the store. Two options: first, try a guix gc --delete /gnu/store ... to remove previous source copy; secondly, randomly change something in the sha256 field, guix will complain, giving you the right sha256 ... and download source recursively. C.
signature.asc
Description: PGP signature