guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: inkbox: Fix build.


From: guix-commits
Subject: 08/08: gnu: inkbox: Fix build.
Date: Sun, 20 Nov 2022 09:16:20 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 44f087fcc7b6ab48ff1381651ef3ea5e560f5216
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Nov 20 15:07:54 2022 +0100

    gnu: inkbox: Fix build.
    
    * gnu/packages/ebook.scm (inkbox)[arguments]: Use G-expression.
---
 gnu/packages/ebook.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 232249a76e..60ef39c77e 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -399,16 +399,17 @@ accessing and converting various ebook file formats.")
         (base32 "126cqn0ixcn608lv2hd9f7zmzj4g448bnpxc7wv9cvg83qqajh5n"))))
     (build-system qt-build-system)
     (arguments
-     '(#:tests? #f                      ; no test suite
-       #:make-flags
-       (list (string-append "PREFIX="
-                            (assoc-ref %outputs "out")))
-       #:phases
-       (modify-phases %standard-phases
+     (list
+      #:tests? #f                      ; no test suite
+      #:make-flags
+      #~(list (string-append "PREFIX=" #$output))
+      #:phases
+      #~(modify-phases %standard-phases
          (add-after 'unpack 'prefix-opt
-           (lambda* (#:key outputs #:allow-other-keys)
+           (lambda _
              (substitute* "inkbox.pro"
-               (("/opt/\\$\\$\\{TARGET\\}") (string-append (assoc-ref outputs 
"out"))))))
+               (("/opt/\\$\\$\\{TARGET\\}")
+                #$output))))
          (replace 'configure
            (lambda* (#:key make-flags #:allow-other-keys)
              (apply invoke (cons "qmake" make-flags)))))))



reply via email to

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