[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: geda-gaf: Use G-expressions.
From: |
guix-commits |
Subject: |
01/03: gnu: geda-gaf: Use G-expressions. |
Date: |
Sun, 23 Apr 2023 15:00:31 -0400 (EDT) |
rekado pushed a commit to branch core-updates
in repository guix.
commit ea24609b617fedac2753f43b799496b3ba00133c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Apr 23 20:57:38 2023 +0200
gnu: geda-gaf: Use G-expressions.
* gnu/packages/engineering.scm (geda-gaf)[arguments]: Use G-expression to
remove the use of %build-inputs; also drop trailing #T from build phases.
---
gnu/packages/engineering.scm | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 44092e77c5..ea9a9c6e37 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -249,13 +249,13 @@ plans and designs.")
"19688b0671imy2i3jphcnq1120b8ymhr4wz2psiqylr82ljanqp8"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
+ (list
+ #:phases
+ '(modify-phases %standard-phases
;; tests require a writable HOME
(add-before 'check 'set-home
(lambda _
- (setenv "HOME" (getenv "TMPDIR"))
- #t))
+ (setenv "HOME" (getenv "TMPDIR"))))
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "xorn/tests/Makefile.in"
@@ -263,14 +263,13 @@ plans and designs.")
;; This test returns its correct result in an unexpected order.
(substitute* "libgeda/scheme/unit-tests/t0402-config.scm"
(("\\(begin-config-test 'config-keys" m)
- (string-append "#;" m)))
- #t)))
- #:configure-flags
- (let ((pcb (assoc-ref %build-inputs "pcb")))
- (list (string-append "--with-pcb-datadir=" pcb "/share")
- (string-append "--with-pcb-lib-path="
- pcb "/share/pcb/pcblib-newlib:"
- pcb "/share/pcb/newlib")))))
+ (string-append "#;" m))))))
+ #:configure-flags
+ #~(let ((pcb #$(this-package-input "pcb")))
+ (list (string-append "--with-pcb-datadir=" pcb "/share")
+ (string-append "--with-pcb-lib-path="
+ pcb "/share/pcb/pcblib-newlib:"
+ pcb "/share/pcb/newlib")))))
(inputs
`(("gamin" ,gamin)
("glib" ,glib)