gnu: util-linux: Don't build 'nologin'.
authorMarius Bakke <mbakke@fastmail.com>
Thu, 1 Mar 2018 21:33:20 +0000 (22:33 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Thu, 22 Mar 2018 17:58:06 +0000 (18:58 +0100)
* gnu/packages/linux.scm (util-linux)[source](snippet): Add substitution.

gnu/packages/linux.scm

index 1e00b1c..95c6092 100644 (file)
@@ -560,10 +560,11 @@ providing the system administrator with some help in common tasks.")
                                        "util-linux-CVE-2018-7738.patch"))
               (modules '((guix build utils)))
               (snippet
-               ;; We take the 'logger' program from GNU Inetutils and 'kill'
-               ;; from GNU Coreutils.
+               ;; We take 'nologin' from Shadow, the 'logger' program from
+               ;; GNU Inetutils and 'kill' from GNU Coreutils.
                '(begin
                   (substitute* "configure"
+                    (("build_nologin=yes") "build_nologin=no")
                     (("build_logger=yes") "build_logger=no")
                     (("build_kill=yes") "build_kill=no"))
                   #t))))