Subject: [PATCH 09/16] gnu: singular: Use G-Expressions.

From: Vinicius Monego <[email-masked]>
Date: Sun, 9 Feb 2025 01:52:26 +0000

* gnu/packages/algebra.scm (singular)[arguments]: Use
G-Expressions. Move below build-system.

Change-Id: I4253b8a9a9cd3b7d2b7492853323d1e8c4fbec4e
---
 gnu/packages/algebra.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index acbc76b4ca..b69b14fa28 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -617,6 +617,10 @@ (define-public singular
               (base32
                "0625541pxxhs7789i3ddf5fm1pqvf1kyljyaii41djg9j12cdhbc"))))
    (build-system gnu-build-system)
+   (arguments
+    (list
+     #:configure-flags #~(list (string-append "--with-ntl="
+                                              #$(this-package-input "ntl")))))
    (native-inputs
     (list doxygen graphviz perl))
    (inputs
@@ -627,10 +631,6 @@ (define-public singular
           ntl
           python-2
           readline))
-   (arguments
-    `(#:configure-flags
-      (list (string-append "--with-ntl="
-                           (assoc-ref %build-inputs "ntl")))))
    (synopsis "Computer algebra system for polynomial computations")
    (description
     "Singular is a computer algebra system for polynomial computations,
-- 
2.48.1