mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
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>
This commit is contained in:
parent
af7dd52136
commit
884c87a100
1 changed files with 9 additions and 1 deletions
|
@ -275,7 +275,15 @@ (define-public clojure-algo-generic
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue