* guix/import/cabal.scm (lex-word): Add colon to delimiters.
* tests/hackage.scm (test-cabal-property-no-space): New variable.
("hackage->guix-package test properties without space"): New test.
* guix/import/cabal.scm (is-layout-property): Do not expect end of line.
(lex-layout-property): Check for newline.
(lex-property): Stop reading on closing curly bracket.
* tests/hackage.scm (test-read-cabal-2): New variable.
("read-cabal test: if brackets on the same line"): New test.
Fixes <https://issues.guix.gnu.org/54752>.
* guix/import/cabal.scm (make-cabal-parser): Replace if-then-else grammar case with elif-else, modify if-then accordingly.
(is-elif): New procedure.
(lex-elif): Likewise.
(is-id): Add elif keyword.
(lex-word): Add test for elif.
* tests/hackage.scm (test-cabal-if): New variale.
(test-cabal-else): Likewise.
(test-cabal-elif): Likewise.
(test-cabal-elif-brackets): Likewise.
(match-ghc-elif): Likewise.
("hackage->guix-package test lonely if statement",
"hackage->guix-package test else statement",
"hackage->guix-package test elif statement",
"hackage->guix-package test elif statement with brackets"): New tests.
This version fixes compilation on Emacs 28.1 (see
https://github.com/jcollard/elm-mode/issues/186).
* gnu/packages/emacs-xyz.scm (emacs-elm-mode): Update to 0.22.0.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
The guix-data-service system test fails on a slower machine with a one-minute
time limit.
* gnu/services/guix.scm (guix-data-service): Double the #:pid-file-timeout.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: In
'install-dbus-conf' phase, install DBus service file for
dbus-system-services-builder to find.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/tests/virtualization.scm (run-childhurd-test)[run-uname-over-ssh]:
Rename to...
[run-command-over-ssh]: ... this. Add 'command' parameter and honor it.
["SSH up and running"]: Adjust accordingly.
As a side effect, this ensures those tarballs are eventually archived by
Software Heritage.
* gnu/packages/commencement.scm (tcc-boot0)[source]: Add "mirror://gnu"
URL.
(gnumach-headers-boot0)[source]: Likewise.
(hurd-source-boot0): Likewise.
* gnu/packages/games.scm (irrlicht): Update to 1.8.5.
[source]: Use unmodified Debian patches rather than manually maintain
a custom mash-up.
[arguments]: Add a new 'delete-broken-install-rule phase instead.
Don't explicitly return #t from phases.
* gnu/packages/patches/irrlicht-link-against-needed-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/minetest.scm (minetest)[arguments]: Convert to list of
G-Expressions. Use search-input-file and search-input-directory where
appropriate. Drop trailing #t.
[inputs]: Drop labels.
Follow up of beaf701d65e9f94d0539e705d6f58a65313c5655.
* doc/guix.texi: Replace the shell old-style command substitution with
the new-style one.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
The currently used commit breaks magit, so update to a newer one.
* gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-1.0a5477b.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>