aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-01-22 19:08:21 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-01-23 00:06:51 +0100
commitbc0eb34759113f1d9b99ff83416c64eb1b35e0ae (patch)
tree3bc9436958c29ad72318a734886f3426437c8098 /gnu
parentf17bd3c6465b941ef62091a8701de8c0cf822f4d (diff)
downloadpatches-bc0eb34759113f1d9b99ff83416c64eb1b35e0ae.tar
patches-bc0eb34759113f1d9b99ff83416c64eb1b35e0ae.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 67afea68fb..64f679e662 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")