summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-02-13 19:54:41 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-02-14 18:34:02 +0100
commit21d0b64494ab7b6288d9d0289090ea28ec95f720 (patch)
treefb39041e7d8411287fc0e4d17960123576169e28
parent8ff645f338f7825549f03d9c1b36c2e8ee433d02 (diff)
downloadguix-21d0b64494ab7b6288d9d0289090ea28ec95f720.tar.gz
gnu: nss: Delete bundled SQLite and Zlib.
* gnu/packages/nss.scm (nss)[source](modules, snippet): New fields.
-rw-r--r--gnu/packages/nss.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index fe51fc2332..6d28f35915 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -85,7 +85,13 @@ in the Mozilla clients.")
                 "19rv0vp9nmvn6dy29qsv8f4v7wn5kizrpm59vbszahsjfwcz6p8q"))
               ;; Create nss.pc and nss-config.
               (patches (search-patches "nss-pkgconfig.patch"
-                                       "nss-increase-test-timeout.patch"))))
+                                       "nss-increase-test-timeout.patch"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  (delete-file-recursively "nss/lib/zlib")
+                  (delete-file-recursively "nss/lib/sqlite")
+                  #t))))
     (build-system gnu-build-system)
     (outputs '("out" "bin"))
     (arguments