me
/
guix
Archived
1
0
Fork 0

gnu: xmobar: Drop Haskell libraries and documentation.

* gnu/packages/wm.scm (xmobar)[arguments]: Add
'remove-libraries phase and disable #:haddock?.
Lars-Dominik Braun 2023-01-29 19:00:57 +01:00
parent 169237aae5
commit 6188fe2633
No known key found for this signature in database
GPG Key ID: F663943E08D8092A
1 changed files with 6 additions and 2 deletions

View File

@ -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