From c634931be8790342a0eaeec2bbef6f058c86448e Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 17 Nov 2019 01:19:20 -0800 Subject: [PATCH 2/3] gnu: hlint: Remove invalid lib directory. * gnu/packages/haskell-apps.scm (hlint): Remove invalid library from output. --- gnu/packages/haskell-apps.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index d5c31cbb0b..5a16b1bb91 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -441,6 +441,13 @@ used to keep a folder in sync between computers.") ("ghc-aeson" ,ghc-aeson) ("ghc-lib-parser" ,ghc-lib-parser) ("hscolour" ,hscolour))) + (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 "http://community.haskell.org/~ndm/hlint/") (synopsis "Suggest improvements for Haskell source code") (description "HLint reads Haskell programs and suggests changes that -- 2.24.0