guix-commits
[Top][All Lists]
Advanced

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

05/10: gnu: alpine: Remove pre-built binaries from source.


From: guix-commits
Subject: 05/10: gnu: alpine: Remove pre-built binaries from source.
Date: Wed, 22 Jan 2020 18:33:32 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit bc0eb34759113f1d9b99ff83416c64eb1b35e0ae
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Wed Jan 22 19:08:21 2020 +0100

    gnu: alpine: Remove pre-built binaries from source.
    
    * gnu/packages/mail.scm (alpine)[source]: Add a snippet to hunt down
    and destroy pre-compiled objects.
---
 gnu/packages/mail.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 67afea6..64f679e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2748,7 +2748,13 @@ operators and scripters.")
              (commit "abeb2c25935ef8c75f1e5deef0f81276754dc975")))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0rqgbw08a5lj41dkp82aq480lqkc4bnxagna7wpqffi821n8gkwz"))))
+        (base32 "0rqgbw08a5lj41dkp82aq480lqkc4bnxagna7wpqffi821n8gkwz"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove pre-built binaries scattered across the source repository.
+           (for-each delete-file (find-files "." "\\.(dll|exe)"))
+           #t))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags (list "CC=gcc")



reply via email to

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