Patchwork [1/2] gnu: lispf4: Remove prebuilt binaries.

login
register
mail settings
Submitter ng0
Date Oct. 4, 2016, 10:33 p.m.
Message ID <20161004223322.19523-2-ngillmann@runbox.com>
Download mbox | patch
Permalink /patch/16262/
State New
Headers show

Comments

ng0 - Oct. 4, 2016, 10:33 p.m.
* gnu/packages/lisp.scm (lispf4)[source]: Remove prebuilt binaries.
---
 gnu/packages/lisp.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Patch

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 439433a..7836d48 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -457,7 +457,13 @@  interface.")
                 (file-name (string-append name "-" version "-checkout"))
                 (sha256
                  (base32
-                  "18k8kfn30za637y4bfbm9x3vv4psa3q8f7bi9h4h0qlb8rz8m92c"))))
+                  "18k8kfn30za637y4bfbm9x3vv4psa3q8f7bi9h4h0qlb8rz8m92c"))
+                ;; Strip the sources of the prebuild binaries.
+                (modules '((guix build utils)))
+                (snippet '(begin
+                            (delete-file-recursively "Windows")
+                            (delete-file-recursively "Linux")
+                            (delete-file-recursively "Mac")))))
       (build-system gnu-build-system)
       ;; 80 MB appended Documentation -> output:doc
       (outputs '("out" "doc"))