bug-guix
[Top][All Lists]
Advanced

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

lsof


From: Andreas Enge
Subject: lsof
Date: Sun, 3 Mar 2013 11:38:56 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

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 via email to

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