diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2024-11-22 14:01:05 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2024-11-22 15:10:53 +0100 |
commit | ced3ead079707bd89c613217b483ca57e54a6d96 (patch) | |
tree | e07ef75338656ca83016559a38ae55113295edc0 /gnu/packages/lisp-xyz.scm | |
parent | dd5589ea8c334fd0ca525aacb85f387517a6ada3 (diff) | |
download | guix-ced3ead079707bd89c613217b483ca57e54a6d96.tar.gz guix-ced3ead079707bd89c613217b483ca57e54a6d96.zip |
gnu: cl-random: Use cl-numerical-utils instead of cl-num-utils.
* gnu/packages/lisp-xyz.scm (sbcl-cl-random)[inputs]: Remove
sbcl-cl-num-utils. Add sbcl-numerical-utilities.
[arguments]: Add 'fix-build' phase.
Change-Id: Ied310b6246480725e29764164f8d4c21169feb07
Diffstat (limited to 'gnu/packages/lisp-xyz.scm')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e8cff851a8..3bf1e20c5b 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -8987,14 +8987,31 @@ generation functions from the GSL library.") (list sbcl-alexandria sbcl-anaphora sbcl-array-operations - sbcl-cl-num-utils sbcl-cl-rmath sbcl-cl-slice sbcl-gsll sbcl-let-plus - sbcl-lla)) + sbcl-lla + sbcl-numerical-utilities)) (native-inputs (list sbcl-clunit)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-build + ;; Fixes to use numerical-utils instead of the deprecated + ;; cl-num-utils. + (lambda _ + (substitute* (list "cl-random.asd" + "src/package.lisp") + (("cl-num-utils") + "num-utils")) + (substitute* (list "src/continuous-time.lisp" + "src/internals.lisp" + "src/random.lisp" + "src/univariate.lisp") + (("clnu:") + "nu:"))))))) (home-page "https://github.com/tpapp/cl-random") (synopsis "Random variates for Common Lisp") (description |