gnu: filters: Use G-Expressions.

* gnu/packages/toys.scm (filters): Use G-Expressions.
[arguments]: Remove trailing #t from lambda.

Change-Id: Iced42b1c99cf5c8fe7193f39f3cd9d44593792a6
This commit is contained in:
Sharlatan Hellseher 2025-02-13 09:08:36 +00:00
parent 590d24d6d9
commit 32f49d6c07
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -163,12 +163,14 @@ This package provides just the utilities and no quotes.")
""))))))
(build-system gnu-build-system)
(arguments
`(#:parallel-build? #f ;y.tab.h fails otherwise
(list
#:parallel-build? #f ; y.tab.h fails otherwise
#:tests? #f ; no test suite
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#~(list (string-append "CC=" #$(cc-for-target))
(string-append "prefix=" #$output))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'respect-prefix
(lambda _
@ -176,9 +178,7 @@ This package provides just the utilities and no quotes.")
(("/usr/games")
"$(prefix)/bin/")
(("/usr")
"$(prefix)"))
#t)))
#:tests? #f)) ; no test suite
"$(prefix)")))))))
(native-inputs
(list bison flex))
(inputs