On Sun, 08 Jan 2023, Zelphir Kaltstahl <zelphirkaltst...@posteo.de> wrote: > On 12/31/22 21:31, Olivier Dion wrote: >> On Sat, 31 Dec 2022, Zelphir Kaltstahl<zelphirkaltst...@posteo.de> wrote: >> >>> Maybe I can already make use of it in coming AoC puzzles. >> Any sort of feeback is welcome! > > Hello Olivier! > > May I ask how to make use of the library? I cloned the project onto my local > machine in a subfolder of a project, in which I want to use it. There are > some > guix files in the guile-parallel repository, but I am unsure how to make use > of > it as a guix package. I think there was a possibility to use local code as a > package in a guix shell, but I cannot find the info how to do it, so I tried > the > following:
I could publish the next revision to Guix! In the mean time, I think you can do the following from your root project directory: --8<---------------cut here---------------start------------->8--- guix shell \ --file=guile-parallel/.guix.scm \ --with-source=guile-parallel=guile-parallel --8<---------------cut here---------------end--------------->8--- You can replace `guix-shell' with `guix-build' to get the path where guile-parallel was built. Also you could copy the package definition of guile-parallel under guile-parallel/.guix.scm in your project tree somehwere. Then, you can use `--with-source=guile-parallel=https://git.sr.ht/~old/guile-parallel/archive/v1.0.0.tar.gz' to use release source. Hope that help! -- Olivier Dion oldiob.dev