diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-23 20:57:38 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-23 20:57:38 +0200 |
commit | ea24609b617fedac2753f43b799496b3ba00133c (patch) | |
tree | a7497f1b91e4e83f4f25d1d6429b6f24fa2fefad | |
parent | c7a04456558244cdc0fa93bd66beb75bd87f3c19 (diff) | |
download | guix-ea24609b617fedac2753f43b799496b3ba00133c.tar.gz |
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.
-rw-r--r-- | gnu/packages/engineering.scm | 23 |
1 files 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) |