gnu: slepc: Apply invoke to configure flags.
authorEric Bavier <bavier@member.fsf.org>
Fri, 2 Feb 2018 14:20:02 +0000 (08:20 -0600)
committerEric Bavier <bavier@member.fsf.org>
Fri, 2 Feb 2018 14:26:59 +0000 (08:26 -0600)
Follow-up to 94a1eb96d32fcce97ee5d9440ecffe22f7555cd5

* gnu/packages/maths.scm (slepc)[arguments]: Use 'apply' since 'flags' is a
list of configure arguments.

gnu/packages/maths.scm

index 30a03a0..dcb1219 100644 (file)
@@ -1647,7 +1647,7 @@ scientific applications modeled by partial differential equations.")
               (format #t "configure flags: ~s~%" flags)
               (setenv "SLEPC_DIR" (getcwd))
               (setenv "PETSC_DIR" (assoc-ref inputs "petsc"))
-              (invoke "./configure" flags))))
+              (apply invoke "./configure" flags))))
          (add-after 'install 'delete-doc
           ;; TODO: SLEPc installs HTML documentation alongside headers in
           ;; $out/include.  We'd like to move them to share/doc, but delete