[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/15: gnu: clojure-algo-generic: Fix test failing under AOT in Clojure
From: |
guix-commits |
Subject: |
10/15: gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1. |
Date: |
Fri, 22 Jul 2022 18:40:52 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 884c87a1006a35e78f4db4eafd5b98d4b4328136
Author: r0man <roman@burningswell.com>
AuthorDate: Sat Jul 16 20:24:22 2022 +0200
gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1.
* gnu/packages/clojure.scm (clojure-algo-generic)[arguments]: Add
'fix-import' phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/clojure.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index dfff54f8ee..840584b162 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -275,7 +275,15 @@ Clojure repl, use Clojure and Java libraries, and start
Clojure programs.")
(arguments
'(#:source-dirs '("src/main/clojure/")
#:test-dirs '("src/test/clojure/")
- #:doc-dirs '()))
+ #:doc-dirs '()
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-import
+ (lambda _
+ (substitute*
+ "src/main/clojure/clojure/algo/generic/math_functions.clj"
+ (("clojure.algo.generic.math-functions")
+ "clojure.algo.generic.math-functions\n(:refer-clojure :exclude
[abs])")))))))
(synopsis "Generic versions of common functions")
(description
"Generic versions of commonly used functions, implemented as multimethods
- branch master updated (c9a37f57cb -> 32a0036343), guix-commits, 2022/07/22
- 03/15: guix gc: '--delete-generations' now deletes old Home generations., guix-commits, 2022/07/22
- 02/15: home: Add 'home-generation-base'., guix-commits, 2022/07/22
- 04/15: gnu: eigen: Update to 3.4.0., guix-commits, 2022/07/22
- 05/15: gnu: clojure-tools-cli: Update to 1.0.206., guix-commits, 2022/07/22
- 07/15: gnu: clojure-tools-deps-alpha: Update to 0.14.1212., guix-commits, 2022/07/22
- 06/15: gnu: clojure-tools-gitlibs: Update to 2.4.181., guix-commits, 2022/07/22
- 08/15: gnu: clojure-tools: Update to 1.11.1.1149., guix-commits, 2022/07/22
- 10/15: gnu: clojure-algo-generic: Fix test failing under AOT in Clojure 1.11.1.,
guix-commits <=
- 11/15: gnu: clojure-core-match: Update to 1.0.0., guix-commits, 2022/07/22
- 13/15: doc: Clarify "Replicating Guix" section., guix-commits, 2022/07/22
- 09/15: gnu: clojure: Update to 1.11.1., guix-commits, 2022/07/22
- 12/15: gnu: clojure-instaparse: Update to 1.4.12., guix-commits, 2022/07/22
- 01/15: deploy: Honor '--dry-run'., guix-commits, 2022/07/22
- 14/15: gnu: git: Update to 2.37.1., guix-commits, 2022/07/22
- 15/15: gnu: iotop: Update to 1.22., guix-commits, 2022/07/22