From f7bca9fca0b01b1c770d388fea80cbcee042b14a Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 17 Nov 2019 01:15:16 -0800 Subject: [PATCH 1/3] gnu: ghc-hpack: Remove invalid lib directory. * gnu/packages/haskell-xyz.scm (ghc-hpack): Remove invalid library directory from output. --- gnu/packages/haskell-xyz.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index fb6833207d..1d78eb7894 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5500,6 +5500,13 @@ representations of current time.") ("ghc-quickcheck" ,ghc-quickcheck) ("ghc-temporary" ,ghc-temporary) ("hspec-discover" ,hspec-discover))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'remove-lib + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively + (string-append (assoc-ref outputs "out") "/lib"))))))) (home-page "https://github.com/sol/hpack") (synopsis "Tools for an alternative Haskell package format") (description -- 2.24.0