util-linux: pass libxcrypt, so sulogin gets built
Util-linux does not fail when crypt() isn't available. It just doesn't build sulogin, which in turn breaks the initrd-builder for the systemd-stage-1 tests.
This commit is contained in:
parent
3cedef1b6a
commit
73ffee8978
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, zlib, shadow
|
||||
, capabilitiesSupport ? true
|
||||
, libcap_ng
|
||||
, libxcrypt
|
||||
, ncursesSupport ? true
|
||||
, ncurses
|
||||
, pamSupport ? true
|
||||
|
@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkg-config ]
|
||||
++ lib.optionals translateManpages [ po4a ];
|
||||
|
||||
buildInputs = [ zlib ]
|
||||
buildInputs = [ zlib libxcrypt ]
|
||||
++ lib.optionals pamSupport [ pam ]
|
||||
++ lib.optionals capabilitiesSupport [ libcap_ng ]
|
||||
++ lib.optionals ncursesSupport [ ncurses ]
|
||||
|
|
Loading…
Reference in a new issue