gnu: btrbk: Re-use $PREFIX in our substitution.

* gnu/packages/backup.scm (btrbk)[arguments]:
Don't hard-code #$OUTPUT in the 'configure phase.
This commit is contained in:
Tobias Geerinckx-Rice 2023-07-02 02:00:00 +02:00
parent d0d33d94bd
commit 4e1f7b1df6
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1153,7 +1153,7 @@ (define-public btrbk
(lambda _
(substitute* "Makefile"
(("= /etc")
(string-append "= " #$output "/etc")))))
(string-append "= $(PREFIX)/etc")))))
(delete 'check)
(add-after 'install 'wrap-scripts
(lambda* (#:key inputs outputs #:allow-other-keys)