Ben Woodcroft <b.woodcr...@uq.edu.au> writes:

> I'm quite new, so I strongly suspect there might be fixups required,
> but it works on my box. Well, it works on my setup in an isolated .scm
> file, but I wasn't sure how to test after I had patched
> bioinformatics.scm i.e. I expected the following to work. Thanks,
> there's a couple more patches (and questions..) to submit once I've
> learned from this one.
>
> ben@u:~/git/guix$ GUIX_PACKAGE_PATH=/home/ben/git/guix guix package -i 
> diamond --verbose -K

If you modified the files in the git repo directly, then just do this:

  ./pre-inst-env guix build -K diamond

and if that succeeds:

  ./pre-inst-env guix package -i diamond

GUIX_PACKAGE_PATH is only needed if you're _not_ working from a git
repo, and in that case you want to point it to a directory that contains
_only_ *.scm files with your out-of-tree package descriptions, nothing
else.

The problem you ran into is that Guix will attempt to load every *.scm
file in that directory tree looking for package descriptions, and it
does not cope well with other things being in there like build-aux/*.scm

      Mark

Reply via email to