nckx pushed a commit to branch master in repository guix. commit f45e314e19c903d2686d11184ecc689ffb444c0a Author: Tobias Geerinckx-Rice <m...@tobias.gr> Date: Thu Dec 21 17:44:03 2017 +0100
gnu: zstd: Disable unrelated format support. * gnu/packages/compression.scm (zstd)[arguments]: Add HAVE_LZMA=0 to --- gnu/packages/compression.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 9ddc76f..5cdb14b 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1609,7 +1609,13 @@ or junctions, and always follows hard links.") (delete 'configure)) ; no configure script #:make-flags (list "CC=gcc" - (string-append "PREFIX=" (assoc-ref %outputs "out"))) + (string-append "PREFIX=" (assoc-ref %outputs "out")) + ;; Skip auto-detection of, and creating a dependency on, the build + ;; environment's ‘xz’ for what amounts to a dubious feature anyway. + "HAVE_LZMA=0" + ;; Not currently detected, but be explicit & avoid surprises later. + "HAVE_LZ4=0" + "HAVE_ZLIB=0") #:test-target "test")) (home-page "http://zstd.net/") (synopsis "Zstandard real-time compression algorithm")