[Top][All Lists]

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

bug#49916: etc/committer: backtrace on gexp

From: Sarah Morgensen
Subject: bug#49916: etc/committer: backtrace on gexp
Date: Fri, 06 Aug 2021 12:18:11 -0700

Hello Guix,

(Ricardo, I've Cc'd you since it seems etc/committer.scm is mostly your

It looks like etc/committer.scm is choking on gexps on core-updates-frozen:

--8<---------------cut here---------------start------------->8---
~/guix-cu-frozen [env]$ etc/committer.scm
ice-9/read.scm:126:4: In procedure read-expr*:
gnu/packages/games.scm:13005:11: Unknown # object: "#~"
--8<---------------cut here---------------end--------------->8---

...and this is the offending package:

--8<---------------cut here---------------start------------->8---
(define-public 0ad-data
    (name "0ad-data")
    (version "0.0.23b-alpha")
       (method url-fetch)
       (uri (string-append "https://releases.wildfiregames.com/0ad-";
                           version "-unix-data.tar.xz"))
       (file-name (string-append name "-" version ".tar.xz"))
       (modules '((guix build utils)))
            (for-each (lambda (name)
                        (let* ((dir (string-append "binaries/data/mods/" name))
                               (file (string-append dir "/" name ".zip"))
                               (unzip #$(file-append unzip "/bin/unzip")))
                          (invoke unzip "-d" dir file)
                          (delete-file file)))
                      '("mod" "public"))
    (build-system trivial-build-system)
--8<---------------cut here---------------end--------------->8---

I think with the changes from new style inputs, gexps in packages are
going to become more common, so etc/committer.scm should support them.



reply via email to

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