From a38901c01e3e0e07803ddd74509745b8c24e9e38 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 29 Jan 2023 18:57:15 +0100 Subject: gnu: shellcheck: Drop Haskell libraries. * gnu/packages/haskell-apps.scm (shellcheck)[arguments]: Add 'remove-libraries phase. --- gnu/packages/haskell-apps.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm index 12a7985116..02dc437abd 100644 --- a/gnu/packages/haskell-apps.scm +++ b/gnu/packages/haskell-apps.scm @@ -836,7 +836,10 @@ too slow and you'll get wound up in the scroll and crushed.") (lambda* (#:key outputs #:allow-other-keys) (install-file "shellcheck.1" (string-append (assoc-ref outputs "out") - "/share/man/man1/"))))))) + "/share/man/man1/")))) + (add-after 'register 'remove-libraries + (lambda* (#:key outputs #:allow-other-keys) + (delete-file-recursively (string-append (assoc-ref outputs "out") "/lib"))))))) (native-inputs (list pandoc)) (inputs -- cgit v1.2.3