gnu: util-linux: Don't build 'nologin'.

* gnu/packages/linux.scm (util-linux)[source](snippet): Add substitution.
This commit is contained in:
Marius Bakke 2018-03-01 22:33:20 +01:00
parent 759ad0690b
commit 0223db58ef
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -560,10 +560,11 @@ (define-public util-linux
"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))))