Am Samstag, den 15.05.2021, 15:25 -0400 schrieb Jack Hill: > Leo, > > Thanks for your reply > > On Sat, 15 May 2021, Leo Prikler wrote: > > > Your code imports (guix utils), but (guix utils) is not present > > within > > the module closure present at build time. > > Did you mean (guix build utils)? > > I used cc-for-target and cxx-for-target from (guix utils). Where > would I add (guix utils) so it is included on the build side? In my opinion, these flags ought to be added on the build-system side of things, not on the build side. There you can just add those two flags to the ones already provided by the package.
> > > More generally, I expect there are many ways I could improve the > > > build system. What are they? > > I know little about jpm, but in my opinion you ought to let the > > user > > customize the flags passed on to jpm at least in the build target > > -- > > not so sure about check and install. If janet-build-system allows > > some > > degree of customization, consider also letting the user override > > the > > test-target. > > I think I should at least try to make the with-toolchain package > transformation option work. Beyond that, I'm not sure how much > customization jpm offers without editing project.janet. [...] If certain guixy things would require you to edit/create that file, you should do that. I think ant-build-system does something similar. Regards, Leo