diff options
author | Felix Gruber <felgru@posteo.net> | 2021-12-18 13:36:49 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-20 15:28:13 +0100 |
commit | 6b36def51c587d58127b5868cc336dd01e77fa59 (patch) | |
tree | 26759b0b3d24f33afb348ac6299f8d4377929372 /gnu/packages/maths.scm | |
parent | d99e42d7f62beab57f1bc2a6aef69b3dd8cd1072 (diff) | |
download | guix-6b36def51c587d58127b5868cc336dd01e77fa59.tar.gz |
gnu: Modernize add-openmpi-to-dune-package
* gnu/packages/maths.scm (add-openmpi-to-dune-package): Use modify-inputs. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index ef90bf7010..13a917e0fd 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6842,8 +6842,8 @@ built on top of DUNE, the Distributed and Unified Numerics Environment.") (if (dune-package? p) (package (inherit p) (name (string-append (package-name p) "-openmpi")) - (inputs `(,@(package-inputs p) - ("openmpi" ,openmpi))) + (inputs (modify-inputs (package-inputs p) + (append openmpi))) (arguments (substitute-keyword-arguments (package-arguments p) ((#:phases phases '%standard-phases) |