From e13fefbcffa50144d9301d67b61928ac3c964fb3 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Mon, 17 Aug 2020 11:03:58 -0400 Subject: gnu: git-annex: Create fake static output. This is a work-around for a problem introduced by commit 718dc7d4a5e5d26cac80c79d78535677e0379dc8. * gnu/packages/haskell-apps.scm (git-annex)[arguments]: Add a phase to generate the "static" output. --- gnu/packages/haskell-apps.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index c70f1736d7..dac626f10a 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -427,7 +427,17 @@ to @code{cabal repl}).") (string-append bin "/git-annex-shell")) (symlink (string-append bin "/git-annex") (string-append bin "/git-remote-tor-annex")) - #t)))))) + #t))) + (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 + ;; 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")))))))) (inputs `(("curl" ,curl) ("ghc-aeson" ,ghc-aeson) -- cgit v1.2.3