guix-commits
[Top][All Lists]
Advanced

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

27/31: gnu: shellcheck: Drop Haskell libraries.


From: guix-commits
Subject: 27/31: gnu: shellcheck: Drop Haskell libraries.
Date: Sun, 26 Feb 2023 04:44:39 -0500 (EST)

lbraun pushed a commit to branch master
in repository guix.

commit a38901c01e3e0e07803ddd74509745b8c24e9e38
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 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



reply via email to

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