mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
590d24d6d9
commit
32f49d6c07
1 changed files with 16 additions and 16 deletions
|
@ -163,22 +163,22 @@ This package provides just the utilities and no quotes.")
|
||||||
""))))))
|
""))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-build? #f ;y.tab.h fails otherwise
|
(list
|
||||||
#:make-flags
|
#:parallel-build? #f ; y.tab.h fails otherwise
|
||||||
(list (string-append "CC=" ,(cc-for-target))
|
#:tests? #f ; no test suite
|
||||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
#:make-flags
|
||||||
#:phases
|
#~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(modify-phases %standard-phases
|
(string-append "prefix=" #$output))
|
||||||
(delete 'configure)
|
#:phases
|
||||||
(add-after 'unpack 'respect-prefix
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(delete 'configure)
|
||||||
(substitute* "Makefile"
|
(add-after 'unpack 'respect-prefix
|
||||||
(("/usr/games")
|
(lambda _
|
||||||
"$(prefix)/bin/")
|
(substitute* "Makefile"
|
||||||
(("/usr")
|
(("/usr/games")
|
||||||
"$(prefix)"))
|
"$(prefix)/bin/")
|
||||||
#t)))
|
(("/usr")
|
||||||
#:tests? #f)) ; no test suite
|
"$(prefix)")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list bison flex))
|
(list bison flex))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue