aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2023-01-29 19:00:57 +0100
committerLars-Dominik Braun <lars@6xq.net>2023-02-26 10:26:17 +0100
commit6188fe26334bb023363e484ffb7729a366c6f1a2 (patch)
treebc850e3bc17c3de53a8d9aa18f5b79fc61ccdc62
parent169237aae530bff4c7322dec863d2189879a0af6 (diff)
downloadguix-6188fe26334bb023363e484ffb7729a366c6f1a2.tar
guix-6188fe26334bb023363e484ffb7729a366c6f1a2.tar.gz
gnu: xmobar: Drop Haskell libraries and documentation.
* gnu/packages/wm.scm (xmobar)[arguments]: Add 'remove-libraries phase and disable #:haddock?.
-rw-r--r--gnu/packages/wm.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 6594a48273..9ba2841817 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -869,13 +869,17 @@ tiled on several screens.")
libxpm))
(arguments
`(#:configure-flags (list "--flags=all_extensions")
+ ;; Haddock documentation is for the library.
+ #:haddock? #f
#: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
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "test/Xmobar/Plugins/Monitors/AlsaSpec.hs"
- (("/bin/bash") (which "bash")))
- #t)))))
+ (("/bin/bash") (which "bash"))))))))
(home-page "https://xmobar.org")
(synopsis "Minimalistic text based status bar")
(description