guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/12: gnu: shellcheck: Drop Haskell libraries.


From: guix-commits
Subject: 09/12: gnu: shellcheck: Drop Haskell libraries.
Date: Sun, 29 Jan 2023 13:06:05 -0500 (EST)

lbraun pushed a commit to branch wip-haskell
in repository guix.

commit bf1ec115d74179ea4b5aa3969369fe422b0e4e10
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jan 29 18:57:15 2023 +0100

    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(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index 80abc99cb1..35e369df3f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]