gnu: entr: Remove erroneous use of DESTDIR.

* gnu/packages/entr.scm (entr)[arguments]: Correctly set PREFIXes.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-07 14:36:33 +02:00
parent c4e48255d9
commit 6ad8fc65d4
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -51,9 +51,8 @@ (define-public entr
(let ((out (assoc-ref outputs "out")))
(setenv "CONFIG_SHELL" (which "bash"))
(setenv "CC" ,(cc-for-target))
(setenv "DESTDIR" (string-append out "/"))
(setenv "PREFIX" "")
(setenv "MANPREFIX" "man")
(setenv "PREFIX" out)
(setenv "MANPREFIX" (string-append out "/man"))
(invoke "./configure"))))
(add-before 'build 'remove-fhs-file-names
(lambda* (#:key inputs #:allow-other-keys)