Subject: bug#27151: closed (Re: bug#27151: [PATCH] gnu: sudo: Unbundle zlib.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 30 May 2017 17:52:02 +0000

Your bug report

#27151: [PATCH] gnu: sudo: Unbundle zlib.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27151
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#27151: [PATCH] gnu: sudo: Unbundle zlib.
From: Marius Bakke <[email-masked]>
To: Leo Famulari <[email-masked]>
Cc: [email-masked]
Date: Tue, 30 May 2017 19:51:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Leo Famulari <[email-masked]> writes:

> On Tue, May 30, 2017 at 06:12:24PM +0200, Marius Bakke wrote:
>> * gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
>> [inputs]: Add ZLIB.
>
> Works for me, thanks!

Thanks for checking! FWIW 'sudo' builds fine without zlib as well, but
references it when it is available in inputs (did not dig further).

Pushed as 6b7f1b6ce96d4c3bbe85d5c548b0643b4ea78ccf.

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