all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: bug-guix@gnu.org
Subject: lsof
Date: Sun, 3 Mar 2013 11:38:56 +0100	[thread overview]
Message-ID: <201303031138.56305.andreas@enge.fr> (raw)

Hello,

the lsof tarball contains the source in a two-stage process: After 
unpacking, one is left with lsof_4.87_src.tar, which needs to be unpacked 
as well. I tried the following:

   (arguments
    `(#:phases
      (alist-replace
       'unpack
       (lambda* (#:key source name version #:allow-other-keys)
         (let ((unpack (assoc-ref %standard-phases 'unpack))
               (inner (string-append name "_" version "_src.tar")))
           (apply unpack (list #:source source))
           (apply unpack (list #:source inner))))
       %standard-phases)))

But apparently, NAME and VERSION are not passed through as function 
arguments (they are #f). Would it make sense to changes this? Or do you see 
a preferable way of doing the second stage unpacking?

Andreas

             reply	other threads:[~2013-03-03 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 10:38 Andreas Enge [this message]
2013-03-03 21:14 ` lsof Ludovic Courtès
2013-03-04 21:55   ` lsof Andreas Enge

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=201303031138.56305.andreas@enge.fr \
    --to=andreas@enge.fr \
    --cc=bug-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.