summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2022-04-14 14:47:18 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-14 14:48:21 +0200
commit16372cb347f071b398285678ab2634d71c897954 (patch)
treebc4b201a50289e5805ff3c40487214f43f3ea3db /gnu/packages
parent61bcd648ca215e3d8e75b3a3f49bfb94d66f7c79 (diff)
downloadguix-16372cb347f071b398285678ab2634d71c897954.tar.gz
gnu: sundials: Remove input labels.
* gnu/packages/maths.scm (sundials)[native-inputs, inputs]: Remove labels.
(sundials-openmpi)[inputs]: Remove labels.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/maths.scm14
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ccf3a0e0de..f9767d2430 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6087,12 +6087,10 @@ and comparisons are supported.")
          "0327a1fy8rilwc4brsqqb71jd1ymb7mqgxsylab06crcg5xn7byg"))))
     (build-system cmake-build-system)
     (native-inputs
-     `(("python" ,python-2)))    ;for tests; syntax incompatible with python 3
+     (list python-2))    ;for tests; syntax incompatible with python 3
     (inputs
-     `(("fortran" ,gfortran)            ;for fcmix
-       ("blas" ,openblas)
-       ("petsc" ,petsc)
-       ("suitesparse" ,suitesparse)))   ;TODO: Add hypre
+     (list gfortran                               ;for fcmix
+           openblas petsc suitesparse))           ;TODO: Add hypre
     (arguments
      `(#:configure-flags `("-DCMAKE_C_FLAGS=-O2 -g -fcommon"
                            "-DEXAMPLES_ENABLE_C:BOOL=ON"
@@ -6125,9 +6123,9 @@ easily be incorporated into existing simulation codes.")
     (inherit sundials)
     (name "sundials-openmpi")
     (inputs
-     `(("mpi" ,openmpi)
-       ("petsc-openmpi" ,petsc-openmpi)      ;support in SUNDIALS requires MPI
-       ,@(alist-delete "petsc" (package-inputs sundials))))
+     (modify-inputs (package-inputs sundials)
+       (delete "petsc")
+       (prepend openmpi petsc-openmpi)))     ;support in SUNDIALS requires MPI
     (arguments
      (substitute-keyword-arguments (package-arguments sundials)
        ((#:configure-flags flags '())