From bc0eb34759113f1d9b99ff83416c64eb1b35e0ae Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 22 Jan 2020 19:08:21 +0100 Subject: 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(-) (limited to 'gnu/packages/mail.scm') 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") -- cgit 1.4.1