summaryrefslogtreecommitdiff
path: root/gnu/packages/toys.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/toys.scm')
-rw-r--r--gnu/packages/toys.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/toys.scm b/gnu/packages/toys.scm
index 1ce3cde617..6387e84a3d 100644
--- a/gnu/packages/toys.scm
+++ b/gnu/packages/toys.scm
@@ -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