emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#33867: closed (Folding with origin-uri fails for i


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#33867: closed (Folding with origin-uri fails for inherited packages)
Date: Tue, 25 Dec 2018 17:23:02 +0000

Your message dated Tue, 25 Dec 2018 18:29:28 +0100
with message-id <address@hidden>
and subject line Re: bug#33867: Folding with origin-uri fails for inherited 
packages
has caused the debbugs.gnu.org bug report #33867,
regarding Folding with origin-uri fails for inherited packages
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
33867: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33867
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Folding with origin-uri fails for inherited packages Date: Tue, 25 Dec 2018 12:43:38 +0100
Is this a bug?

scheme@(guix-user) [1]> (define snakes
                       (fold-packages
                            (lambda (package lst)
                                (if (string-prefix? "python"
                                      (package-name package))
                                       (cons (origin-uri package) lst)
                             lst))
                        '()))
... ... ... ... ... ... ... <unnamed port>:15:45: In procedure origin-uri: Wrong type argument: #<package address@hidden gnu/packages/xml.scm:1235 2220300>

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [2]> ,bt
In current input:
    11:23  5 (_)
In guix/discovery.scm:
    155:3  4 (fold-module-public-variables _ _ _)
In guix/combinators.scm:
45:26 3 (fold2 #<procedure 1138b20 at guix/discovery.scm:155:10 (mod…> …) 45:26 2 (fold2 #<procedure 1144620 at guix/discovery.scm:156:19 (var…> …)
In guix/discovery.scm:
158:33 1 (_ #<package address@hidden gnu/packages/xml.scm:1…> …)
In current input:
    15:45  0 (_ _ _)


--
Cheers Swedebugia



--- End Message ---
--- Begin Message --- 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


--- End Message ---

reply via email to

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