help-guix
[Top][All Lists]
Advanced

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

Re: not tarred source file


From: Ben Woodcroft
Subject: Re: not tarred source file
Date: Mon, 16 May 2016 08:45:32 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

Hi there,

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

Catonano <address@hidden> 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

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