Subject: [PATCH] gnu: sudo: Unbundle zlib.
From: Marius Bakke <[email-masked]>
To: [email-masked]
Cc: Marius Bakke <[email-masked]>
Date: Tue, 30 May 2017 18:12:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
[inputs]: Add ZLIB.
---
 gnu/packages/admin.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ba0d7f661..c1d254d48 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -812,7 +812,10 @@ system administrator.")
                                     version ".tar.gz")))
               (sha256
                (base32
-                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))))
+                "07fvh8qy0l1h93lccc625f48d8yp0pkp5rjjykq13pb07ar0x64y"))
+              (modules '((guix build utils)))
+              (snippet
+               '(delete-file-recursively "lib/zlib"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
@@ -860,6 +863,7 @@ system administrator.")
     (inputs
      `(("groff" ,groff)
        ("linux-pam" ,linux-pam)
+       ("zlib" ,zlib)
        ("coreutils" ,coreutils)))
     (home-page "https://www.sudo.ws/")
     (synopsis "Run commands as root")
-- 
2.13.0