summary refs log tree commit diff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-07-26 17:30:18 +0200
committerMarius Bakke <mbakke@fastmail.com>2018-07-26 17:30:18 +0200
commit92526ade57e0bd23ab4025b8532511ef80df5fba (patch)
treeacd1c02a85077222af49daceec61f18f6054ffed /gnu/packages/compression.scm
parente0a98e7bd55a31974311e853f6751b90a4a82198 (diff)
downloadguix-92526ade57e0bd23ab4025b8532511ef80df5fba.tar.gz
gnu: cabextract: Delete bundled libmspack.
* gnu/packages/compression.scm (cabextract)[source](modules, snippet): New field.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r--gnu/packages/compression.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 5745f66650..1c5e00ec95 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1029,7 +1029,13 @@ smaller than those produced by @code{Xdelta}.")
               (uri (string-append home-page name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1g86wmb8lkjiv2jarfz979ngbgg7d3si8x5il4g801604v406wi9"))))
+                "1g86wmb8lkjiv2jarfz979ngbgg7d3si8x5il4g801604v406wi9"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Delete bundled libmspack.
+                  (delete-file-recursively "mspack")
+                  #t))))
     (build-system gnu-build-system)
     (arguments '(#:configure-flags '("--with-external-libmspack")))
     (native-inputs