summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-05 15:02:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-05 15:04:05 +0100
commitf2b99e3aaf80bdd6c44f68b01151aba404e71d93 (patch)
treef67db7381f4be0e36b844fd3cd32a5a7f233909d
parent57f278ffc41d656584cdf92883a7d435d650e18b (diff)
downloadguix-f2b99e3aaf80bdd6c44f68b01151aba404e71d93.tar.gz
gnu: python-bwapy: Remove pre-built object files.
* gnu/packages/bioinformatics.scm (python-bwapy)[source]: Remove all .o files
in a snippet.
-rw-r--r--gnu/packages/bioinformatics.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7cff6897bd..efb79d0fa4 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15504,7 +15504,10 @@ sequences")
        (method url-fetch)
        (uri (pypi-uri "bwapy" version))
        (sha256
-        (base32 "090qwx3vl729zn3a7sksbviyg04kc71gpbm3nd8dalqp673x1npw"))))
+        (base32 "090qwx3vl729zn3a7sksbviyg04kc71gpbm3nd8dalqp673x1npw"))
+       (modules '((guix build utils)))
+       (snippet
+        '(for-each delete-file (find-files "." "\\.o$")))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-cffi" ,python-cffi)