gnu: git-annex: Drop Haskell documentation.

* gnu/packages/haskell-apps.scm (git-annex)[arguments]: Disable #:haddock?.
This commit is contained in:
Lars-Dominik Braun 2023-01-29 18:56:05 +01:00
parent 47673272c4
commit be398aa2b4
No known key found for this signature in database
GPG key ID: F663943E08D8092A

View file

@ -306,6 +306,7 @@ (define-public git-annex
(arguments
`(#:configure-flags
'("--flags=-Android -Webapp")
#:haddock? #f
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-shell-for-tests
@ -386,17 +387,7 @@ (define-public git-annex
(symlink (string-append bin "/git-annex")
(string-append bin "/git-annex-shell"))
(symlink (string-append bin "/git-annex")
(string-append bin "/git-remote-tor-annex")))))
(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"))))))))
(string-append bin "/git-remote-tor-annex"))))))))
(inputs
(list curl
ghc-aeson