nckx pushed a commit to branch master
in repository guix.
commit 4e1f7b1df67955c6ebd27bf83a07933ca521b174
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Jul 2 02:00:00 2023 +0200
gnu: btrbk: Re-use $PREFIX in our substitution.
* gnu/packages/backup.scm (btrbk)[arguments]:
Don't hard-code #$OUTPUT in the 'configure phase.
---
gnu/packages/backup.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 1555304811..921398bad6 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1153,7 +1153,7 @@ interactive mode.")
(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)