mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-03 08:36:32 +01:00
gnu: xmobar: Drop Haskell libraries and documentation.
* gnu/packages/wm.scm (xmobar)[arguments]: Add 'remove-libraries phase and disable #:haddock?.
This commit is contained in:
parent
169237aae5
commit
6188fe2633
1 changed files with 6 additions and 2 deletions
|
@ -869,13 +869,17 @@ (define-public xmobar
|
||||||
libxpm))
|
libxpm))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags (list "--flags=all_extensions")
|
`(#:configure-flags (list "--flags=all_extensions")
|
||||||
|
;; Haddock documentation is for the library.
|
||||||
|
#:haddock? #f
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'register 'remove-libraries
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))
|
||||||
(add-before 'build 'patch-test-shebang
|
(add-before 'build 'patch-test-shebang
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
|
(substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
|
||||||
(("/bin/bash") (which "bash")))
|
(("/bin/bash") (which "bash"))))))))
|
||||||
#t)))))
|
|
||||||
(home-page "https://xmobar.org")
|
(home-page "https://xmobar.org")
|
||||||
(synopsis "Minimalistic text based status bar")
|
(synopsis "Minimalistic text based status bar")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue