--- Begin Message ---
Subject: |
[PATCH] gnu: xmobar: Keep xmobar libraries |
Date: |
Tue, 30 May 2023 10:54:53 +0300 |
* gnu/packages/wm.scm (xmobar)[arguments]: Remove 'remove-libraries
phase and enable #:haddock?.
---
This patch effectively reverts 6188fe26334, which for some reason
dropped the libraries from the xmobar package. I can write a patch
adding the libraries in a separate package if that is preferred, but I
think xmobar should have it's configuration libraries included just like
xmonad has.
gnu/packages/wm.scm | 5 -----
1 file changed, 5 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index b4e0e51018..d347b12d6d 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -896,13 +896,8 @@ (define-public xmobar
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"
base-commit: 3807876af4b53babdbc2f1d730e4763ff651f316
--
2.40.1
--- End Message ---
--- Begin Message ---
Subject: |
Re: [PATCH v2] gnu: Add ghc-xmobar |
Date: |
Fri, 7 Jul 2023 14:19:36 +0200 |
Hey,
> * gnu/packages/wm.scm (ghc-xmobar): New variable.
> (xmobar)[inputs]: Remove everything except libxpm. Add ghc-xmobar.
> [arguments]: Disable tests as they are run in ghc-xmobar. Configure only
> the xmobar executable. Remove unnecessary phases.
> [native-inputs]: Remove everything.
pushed as ba1fe203b293469e8db1a78e5090ecc711aaaba2 with minor modifications
(added inherit from ghc-xmobar).
Cheers,
Lars
--- End Message ---