Hi there,

On 16/05/16 06:57, Ludovic Courtès wrote:
Hi!

Catonano <caton...@gmail.com> skribis:

after having successfully packaged (locally) the Zenburn theme and
Smartparens, I am preparing the package for clojure-mode

But for the first time it happens that the downloaded source code is not
tarred so tar fails and so does the unpack phase.

How do I instruct the origin object not to attempt untarring my source ?
It’s OK if the ‘origin’ denotes a file that is not a tarball.

However, the build procedure will have to pay attention for that.  For
instance, the default sequence of phases of ‘gnu-build-system’ includes
an ‘unpack’ phase, which is inappropriate here:

   https://www.gnu.org/software/guix/manual/html_node/Build-Systems.html

There are a couple of examples, e.g., paredit in emacs.scm.  Most of
them use ‘trivial-build-system’, which requires explicitly writing the
build/install operations.
If it is a single file then I believe it is as simple as deleting the unpack phase e.g. fasttree in bioinformatics.scm, I had thought it was still good practice not to use the trivial build system where possible as it omits some useful defaults.

ben

Reply via email to