3
4
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: filters: Fix bogus use of DESTDIR.

* gnu/packages/toys.scm (filters)[arguments]: Set and respect the
standard prefix variable.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-16 16:52:18 +02:00
parent dae2ac513d
commit 5446720292
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -101,17 +101,17 @@ typing @command{sl} instead of @command{ls}.")
(arguments
`(#:make-flags
(list (string-append "CC=" ,(cc-for-target))
(string-append "DESTDIR=" %output))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(add-after 'unpack 'fix-install-directories
(add-after 'unpack 'respect-prefix
(lambda _
(substitute* "Makefile"
(("/usr/games")
"/bin/")
(("/usr/share/")
"/share/"))
"$(prefix)/bin/")
(("/usr")
"$(prefix)"))
#t)))
#:tests? #f)) ; no test suite
(native-inputs