guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: scroll: Fix build.


From: guix-commits
Subject: branch master updated: gnu: scroll: Fix build.
Date: Mon, 24 Aug 2020 05:04:09 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 7bcc800  gnu: scroll: Fix build.
7bcc800 is described below

commit 7bcc8004b192f2316beee837521ec251b3d13aca
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Aug 24 12:03:12 2020 +0300

    gnu: scroll: Fix build.
    
    * gnu/packages/haskell-apps.scm (scroll)[arguments]: Add custom phase to
    add a place-holder file to the static output.
---
 gnu/packages/haskell-apps.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index d1b7772..2a63712 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -738,6 +738,20 @@ is programmed in Haskell.")
          (base32
           "0apzrvf99rskj4dbmn57jjxrsf19j436s8a09m950df5aws3a0wj"))))
     (build-system haskell-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'touch-static-output
+           (lambda* (#:key outputs #:allow-other-keys)
+             ;; The Haskell build system adds a "static" output by
+             ;; default, and there is no way to override this until
+             ;; <https://issues.guix.gnu.org/41569> is fixed.  Without
+             ;; this phase, the daemon complains because we do not
+             ;; create the "static" output.
+             (with-output-to-file (assoc-ref outputs "static")
+               (lambda ()
+                 (display "static output not used\n")))
+             #t)))))
     (inputs
      `(("ghc-case-insensitive" ,ghc-case-insensitive)
        ("ghc-data-default" ,ghc-data-default)



reply via email to

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