From 47673272c46cd73c03b067e81ddf0d952a874040 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 29 Jan 2023 18:55:28 +0100 Subject: gnu: darcs: Drop Haskell libraries and documentation. * gnu/packages/haskell-apps.scm (darcs)[arguments]: Add 'remove-libraries phase and disable #:haddock?. --- gnu/packages/haskell-apps.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 5a6bae5281..ad71713f92 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -187,6 +187,7 @@ unlit literate code files; and an option to turn off macro-expansion.") #:configure-flags '("-fpkgconfig" "-fcurl" "-flibiconv" "-fthreaded" "-fnetwork-uri" "-fhttp" "--flag=executable" "--flag=library") + #:haddock? #f #:phases (modify-phases %standard-phases (add-after 'patch-source-shebangs 'patch-sh @@ -198,7 +199,10 @@ unlit literate code files; and an option to turn off macro-expansion.") (lambda _ (substitute* "darcs.cabal" (("(attoparsec|base|bytestring|constraints|cryptonite|hashable|memory|regex-tdfa|time)\\s+[^,]+" all dep) - dep))))))) + dep)))) + (add-after 'register 'remove-libraries + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))))) (inputs (list ghc-regex-base ghc-regex-tdfa ghc-regex-applicative -- cgit v1.2.3 thod='get' action='/guix/log/gnu/build/shepherd.scm'>
path: root/gnu/build/shepherd.scm
AgeCommit message (Expand)Author
2020-06-12shepherd: 'read-pid-file/container' terminates the whole process group....Ludovic Courtès
2020-06-12shepherd: Unblock signals in the child process....Ludovic Courtès
2019-09-26shepherd: Ensure the log file has correct ownership....Ludovic Courtès
2019-09-26shepherd: 'make-forkexec-constructor/container' keeps the log file....Ludovic Courtès
2019-09-12file-systems: Add /var/run/nscd to '%network-file-mappings'....Ludovic Courtès
2019-05-03shepherd: Include /etc/localtime in service containers....Ludovic Courtès
2018-05-28system: Remove uses of the 'title' field of <file-system>....Ludovic Courtès
2017-11-22shepherd: Include /etc/group in service containers....Ludovic Courtès