GNU bug report logs - #54891
[PATCH 2/3] gnu: nomad-optimizer: Remove trailing booleans.

Previous Next

Package: guix-patches;

Reported by: "Paul A. Patience" <paul <at> apatience.com>

Date: Tue, 12 Apr 2022 18:58:02 UTC

Severity: normal

Tags: patch

Merged with 54890, 54892

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: guix-patches <at> gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH 2/3] gnu: nomad-optimizer: Remove trailing booleans.
Date: Tue, 12 Apr 2022 18:57:43 +0000
* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Remove trailing
booleans.
---
 gnu/packages/maths.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6a6ac22a3b..b68cb966c2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1994,8 +1994,7 @@ (define-public nomad-optimizer
                  (("^( +os_include_dirs = ).*" _ prefix)
                   (string-append prefix "[\"../../src\"]\n"))
                  (("^(installed_lib_dir = ).*" _ prefix)
-                  (string-append prefix "\"" out "/lib\"\n"))))
-             #t))
+                  (string-append prefix "\"" out "/lib\"\n"))))))

          ;; Fix the tests so they run in out-of-source builds.
          (add-after 'fix-sources-for-build 'fix-sources-for-tests
@@ -2060,8 +2059,7 @@ (define-public nomad-optimizer
                     (string-append builddir "/src/nomad ")))
                  (for-each
                   (lambda (f) (fix-exe-path dir f))
-                  '("param1.txt" "param2.txt" "param3.txt" "param10.txt"))))
-             #t))
+                  '("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
@@ -2070,8 +2068,7 @@ (define-public nomad-optimizer
                            (site-packages inputs outputs)
                            "/PyNomad-0.0.0-py"
                            (python-version (assoc-ref inputs "python"))
-                           ".egg-info"))
-             #t)))))
+                           ".egg-info")))))))
     (home-page "https://www.gerad.ca/nomad/")
     (synopsis "Nonlinear optimization by mesh-adaptive direct search")
     (description
--
2.35.1






This bug report was last modified 3 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.