GNU bug report logs - #33867
Folding with origin-uri fails for inherited packages

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Tue, 25 Dec 2018 11:38:01 UTC

Severity: normal

Done: swedebugia <swedebugia <at> riseup.net>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 33867-done <at> debbugs.gnu.org (full text, mbox):

From: swedebugia <swedebugia <at> riseup.net>
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 33867-done <at> debbugs.gnu.org
Subject: Re: bug#33867: Folding with origin-uri fails for inherited packages
Date: Tue, 25 Dec 2018 18:29:28 +0100
On 2018-12-25 13:01, Mathieu Othacehe wrote:
> (fold-packages
>   (lambda (package lst)
>     (if (string-prefix? "python" (package-name package))
>         (cons (and=> (package-source package)
>                      (lambda (source)
>                        (origin-uri source)))
>               lst)
>       lst))
>   '())

thanks!
closing
-- 
Cheers Swedebugia




This bug report was last modified 6 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.