[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61420] [PATCH 28/31] gnu: pandoc: Drop Haskell libraries and docume
From: |
Lars-Dominik Braun |
Subject: |
[bug#61420] [PATCH 28/31] gnu: pandoc: Drop Haskell libraries and documentation. |
Date: |
Sat, 11 Feb 2023 11:08:22 +0100 |
* gnu/packages/haskell-xyz.scm (ghc-pandoc): Renamed from pandoc.
(pandoc) [arguments]: Add 'remove-libraries phase and disable #:haddock?.
---
gnu/packages/haskell-xyz.scm | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0a6efedd29..7578065eb1 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8188,9 +8188,9 @@ (define-public ghc-doclayout
code. It was designed for use in @code{Pandoc}.")
(license license:bsd-3)))
-(define-public pandoc
+(define-public ghc-pandoc
(package
- (name "pandoc")
+ (name "ghc-pandoc")
(version "2.19.2")
(source (origin
(method url-fetch)
@@ -8288,8 +8288,19 @@ (define-public pandoc
provided for those who need a drop-in replacement for Markdown.pl.")
(license license:gpl2+)))
-(define-public ghc-pandoc
- (deprecated-package "ghc-pandoc" pandoc))
+(define-public pandoc
+ (package
+ (inherit ghc-pandoc)
+ (name "pandoc")
+ (arguments
+ (list
+ #: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")))))
+ ;; Haddock documentation is for the library.
+ #:haddock? #f))))
(define-public ghc-pandoc-types
(package
--
2.38.2
- [bug#61420] [PATCH 17/31] gnu: idris: Fix overly zealous regular expression., (continued)
- [bug#61420] [PATCH 17/31] gnu: idris: Fix overly zealous regular expression., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 30/31] gnu: xmobar: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 23/31] gnu: ngless: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 19/31] build-system: haskell: Drop default "static" output., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 29/31] gnu: purescript: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 31/31] gnu: idris: Adapt to changed haskell-build-system., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 27/31] gnu: shellcheck: Drop Haskell libraries., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 24/31] gnu: hledger: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 25/31] gnu: darcs: Drop Haskell libraries and documentation., Lars-Dominik Braun, 2023/02/11
- [bug#61420] [PATCH 28/31] gnu: pandoc: Drop Haskell libraries and documentation.,
Lars-Dominik Braun <=
- [bug#61420] [PATCH 00/31] Haskell upgrade to Stackage 20.5, Simon Tournier, 2023/02/14
- [bug#61420] [PATCH 00/31] Haskell upgrade to Stackage 20.5, zimoun, 2023/02/15
- bug#61420: [PATCH 00/31] Haskell upgrade to Stackage 20.5, Lars-Dominik Braun, 2023/02/26