summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-05-30 18:11:17 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-05-30 19:49:19 +0200
commit6b7f1b6ce96d4c3bbe85d5c548b0643b4ea78ccf (patch)
tree7175c9122998bae5bf0d3cd57dc4f5107564eaa7 /gnu
parentcab1c1174182fadfd1ae39762d8f18314c2749db (diff)
downloadguix-6b7f1b6ce96d4c3bbe85d5c548b0643b4ea78ccf.tar.gz
gnu: sudo: Unbundle zlib.
* gnu/packages/admin.scm (sudo)[source]: Add 'snippet'.
[inputs]: Add ZLIB.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ba0d7f661a..c1d254d486 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")