guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add diamond


From: Mark H Weaver
Subject: Re: [PATCH] Add diamond
Date: Wed, 17 Jun 2015 00:13:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ben Woodcroft <address@hidden> 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.
>
> address@hidden:~/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

[Prev in Thread] Current Thread [Next in Thread]