bug-guix
[Top][All Lists]
Advanced

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

Re: lsof


From: Andreas Enge
Subject: Re: lsof
Date: Mon, 4 Mar 2013 22:55:24 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Sonntag, 3. März 2013 schrieb Ludovic Courtès:
> Andreas Enge <address@hidden> skribis:
> > 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.
> Weird.

I have seen it before, the tarball contains the source tarball and some 
additional metadata.

> > But apparently, NAME and VERSION are not passed through as function
> > arguments (they are #f). Would it make sense to changes this?
> It wouldn’t hurt to pass them, and it may be helpful in cases like this.
> So feel free to add it to build-system/gnu.scm and gnu-build-system.scm.

This looks complicated after all: One would probably need to repeat NAME 
and VERSION in the arguments section of a package; source seems to be 
passed automatically. And then there is the semantic difference between the 
name of a derivation and the name of a package...

> > Or do you see a preferable way of doing the second stage unpacking?
> You could use (find-files "." "\\.tar$") to find the tar file, I guess.

Thanks, I will rather go for this!

Andreas



reply via email to

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