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>
This commit is contained in:
		
							parent
							
								
									d99e42d7f6
								
							
						
					
					
						commit
						6b36def51c
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue