Merge #44719: utillinux: fix build w/ncurses

This fixes a regression from f83b5e4.
This commit is contained in:
Vladimír Čunát 2018-08-10 14:22:25 +02:00
commit 46e5257670
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
"--disable-use-tty-group"
"--enable-fs-paths-default=/run/wrappers/bin:/var/run/current-system/sw/bin:/sbin"
"--disable-makeinstall-setuid" "--disable-makeinstall-chown"
(lib.withFeature (ncurses != null) "ncurses")
(lib.withFeature (ncurses != null) "ncursesw")
(lib.withFeature (systemd != null) "systemd")
(lib.withFeatureAs (systemd != null)
"systemdsystemunitdir" "$bin/lib/systemd/system/")