[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: pandoc: Drop Haskell libraries and documentation.
From: |
guix-commits |
Subject: |
10/12: gnu: pandoc: Drop Haskell libraries and documentation. |
Date: |
Sun, 29 Jan 2023 13:06:05 -0500 (EST) |
lbraun pushed a commit to branch wip-haskell
in repository guix.
commit 144216338c80922c133eec5305fa67a242d51941
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 29 18:57:48 2023 +0100
gnu: pandoc: Drop Haskell libraries and documentation.
* 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 @@ with several features not present in pretty-printing
libraries designed for
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 @@ definition lists, tables, and other features. A
compatibility mode is
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
- branch wip-haskell updated (b3a338d427 -> e4e5c00a66), guix-commits, 2023/01/29
- 01/12: build-system: haskell: Drop default "static" output., guix-commits, 2023/01/29
- 03/12: gnu: ghc-lua: Disable symbol export., guix-commits, 2023/01/29
- 02/12: gnu: ghc-9.2: Support static linking with glibc < 2.34., guix-commits, 2023/01/29
- 04/12: build: haskell-build-system: Build static executables by default., guix-commits, 2023/01/29
- 08/12: gnu: git-annex: Drop Haskell documentation., guix-commits, 2023/01/29
- 09/12: gnu: shellcheck: Drop Haskell libraries., guix-commits, 2023/01/29
- 10/12: gnu: pandoc: Drop Haskell libraries and documentation.,
guix-commits <=
- 12/12: gnu: xmobar: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 07/12: gnu: darcs: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 05/12: gnu: ngless: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 06/12: gnu: hledger: Drop Haskell libraries and documentation., guix-commits, 2023/01/29
- 11/12: gnu: purescript: Drop Haskell libraries and documentation., guix-commits, 2023/01/29