all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: Arnaud B <arnaud.beaudhuin@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: Trying to define a package
Date: Mon, 02 Apr 2018 19:18:30 +0300	[thread overview]
Message-ID: <87woxpd1k9.fsf@gmail.com> (raw)
In-Reply-To: <878ta5r8kw.fsf@gmail.com> (Pierre Neidhardt's message of "Mon, 02 Apr 2018 19:53:11 +0530")

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

Hello Arnaud,

Pierre Neidhardt <ambrevar@gmail.com> writes:

> Arnaud B <arnaud.beaudhuin@gmail.com> writes:

[…]

>> One thing to add is that the downloaded source file is not tar.gz file
>> format but zip file, perhaps that's part of the problem ?
>
> I think you need
>
>     (native-inputs
>      `(("unzip" ,unzip)))
>
> And add the (gnu packages compression) module.

You will also need to modify a ‘%standard-phases’ to unzip it.

Alternatively you could use ‘url-fetch/zipbomb’ from
‘guix/guix/download.scm’ instead of ‘url-fetch’.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2018-04-02 16:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 11:50 Trying to define a package Arnaud B
2018-04-02 14:23 ` Pierre Neidhardt
2018-04-02 16:18   ` Oleg Pykhalov [this message]
2018-04-02 19:53     ` Arnaud B
2018-04-03 17:14       ` Arnaud B
2018-04-03 17:38         ` Pierre Neidhardt
2018-04-03 19:27         ` Thomas Sigurdsen
2018-04-03 19:41           ` Thomas Sigurdsen
2018-04-03 21:18             ` Arnaud B
2018-04-03 21:54               ` Arnaud B

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87woxpd1k9.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=arnaud.beaudhuin@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.