diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index fb3b3e94b3..41464ca882 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -413,19 +413,18 @@ cosine/ sine transforms or DCT/DST).") ;; . #:test-target "check" - #:phases (alist-cons-before - 'check 'build-tests - (lambda _ - ;; First build the tests, in parallel. - ;; See . - (let* ((cores (parallel-job-count)) - (dash-j (format #f "-j~a" cores))) - ;; These variables are supposed to be honored. - (setenv "EIGEN_MAKE_ARGS" dash-j) - (setenv "EIGEN_CTEST_ARGS" dash-j) + #:phases (modify-phases %standard-phases + (add-before 'check 'build-tests + (lambda _ + ;; First build the tests, in parallel. + ;; See . + (let* ((cores (parallel-job-count)) + (dash-j (format #f "-j~a" cores))) + ;; These variables are supposed to be honored. + (setenv "EIGEN_MAKE_ARGS" dash-j) + (setenv "EIGEN_CTEST_ARGS" dash-j) - (zero? (system* "make" "buildtests" dash-j)))) - %standard-phases))) + (zero? (system* "make" "buildtests" dash-j)))))))) (home-page "http://eigen.tuxfamily.org") (synopsis "C++ template library for linear algebra") (description