guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 03/07: gnu: btrbk: Re-use $PREFIX in our substitution.
Date: Sun, 9 Jul 2023 14:15:15 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 4e1f7b1df67955c6ebd27bf83a07933ca521b174
Author: Tobias Geerinckx-Rice <me@tobias.gr>
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]