~ruther/guix-local

d08cb9bf44d93bad6135dfd5047cfd3a38ffbf22 — Paul A. Patience 3 years ago bdf3d62
gnu: nomad-optimizer: Fix build.

* gnu/packages/maths.scm (nomad-optimizer)
[arguments]<#:phases>: Remove 'delete-superfluous-egg-info' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 1 insertions(+), 10 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +1 -10
@@ 2388,16 2388,7 @@ interfaces.")
                      (string-append builddir "/src/nomad ")))
                   (for-each
                    (lambda (f) (fix-exe-path dir f))
                    '("param1.txt" "param2.txt" "param3.txt" "param10.txt")))))))

         ;; The information in the .egg-info file is not kept up to date.
         (add-after 'install 'delete-superfluous-egg-info
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (delete-file (string-append
                           (site-packages inputs outputs)
                           "/PyNomad-0.0.0-py"
                           (python-version (assoc-ref inputs "python"))
                           ".egg-info")))))))
                    '("param1.txt" "param2.txt" "param3.txt" "param10.txt"))))))))))
    (home-page "https://www.gerad.ca/nomad/")
    (synopsis "Nonlinear optimization by mesh-adaptive direct search")
    (description