aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/virtualization.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-19 09:33:29 +0100
committerMarius Bakke <marius@gnu.org>2022-01-19 10:05:30 +0100
commit4bf79350eab29d2d19794c45df39c6e0c4c5917e (patch)
treecb60d2372705fe51660fc6eb6697f456df728228 /gnu/packages/virtualization.scm
parent8d70f509c700a66a6b94ff42aa0db53d582dfb53 (diff)
downloadguix-4bf79350eab29d2d19794c45df39c6e0c4c5917e.tar
guix-4bf79350eab29d2d19794c45df39c6e0c4c5917e.tar.gz
gnu: ganeti: Fix test failure.
* gnu/packages/virtualization.scm (ganeti)[arguments]: Add phase to add compatibility with newer Pyparsing.
Diffstat (limited to 'gnu/packages/virtualization.scm')
-rw-r--r--gnu/packages/virtualization.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index a16a12c7aa..e02eafe7c8 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -599,6 +599,12 @@ firmware blobs. You can
(string-append match " < 1.2"))
(("(.*QuickCheck.*) < 2\\.14" _ match)
(string-append match " < 2.15")))))
+ (add-after 'unpack 'pyparsing-compat
+ (lambda _
+ ;; Adjust for Pyparsing 3.0. Remove for Ganeti 3.0.2+.
+ (substitute* "lib/qlang.py"
+ (("operatorPrecedence")
+ "infixNotation"))))
(add-after 'unpack 'create-vcs-version
(lambda _
;; If we are building from a git checkout, we need to create a