mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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,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 New Issue
Block a user