summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-25 12:18:12 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-25 13:21:19 +0100
commitcba8ba8b0d3aa78a3ebb3a3297c8638077c95435 (patch)
treedb3e0241e0842247bc8d395cfe8568a4a2265a39
parentec7245f0dbe3f6f9429086d6f09ad5ddfa1ab394 (diff)
downloadguix-cba8ba8b0d3aa78a3ebb3a3297c8638077c95435.tar.gz
gnu: brdf-explorer: Unconditionally return #T from build phases.
* gnu/packages/graphics.scm (brdf-explorer)[arguments]: Use INVOKE and return #T.
-rw-r--r--gnu/packages/graphics.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index a25816778a..bf4cc89b08 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -651,8 +651,8 @@ output.")
                     (replace 'configure
                       (lambda* (#:key outputs #:allow-other-keys)
                         (let ((out (assoc-ref outputs "out")))
-                          (zero? (system* "qmake"
-                                          (string-append "prefix=" out))))))
+                          (invoke "qmake"
+                                  (string-append "prefix=" out)))))
                     (add-after 'install 'wrap-program
                       (lambda* (#:key outputs #:allow-other-keys)
                         (let* ((out (assoc-ref outputs "out"))
@@ -668,7 +668,8 @@ output.")
 cd \"~a\"
 exec -a \"$0\" ~a/.brdf-real~%"
                                         data bin)))
-                            (chmod "brdf" #o555))))))))
+                            (chmod "brdf" #o555)))
+                        #t)))))
       (native-inputs
        `(("qttools" ,qttools))) ;for 'qmake'
       (inputs