diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-10-05 00:20:57 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-10-09 18:14:35 +0200 |
commit | 73ffee897887c5ae7d5077ad5255ecb818ea79eb (patch) | |
tree | c7631af4d1cf53dbd97cb519054fa78ac4901f0b /pkgs/os-specific/linux/util-linux/default.nix | |
parent | 3cedef1b6ac07f55786c21bf65f0445720a94326 (diff) | |
download | nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar.gz nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar.bz2 nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar.lz nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar.xz nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.tar.zst nixpkgs-73ffee897887c5ae7d5077ad5255ecb818ea79eb.zip |
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.
Diffstat (limited to 'pkgs/os-specific/linux/util-linux/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/util-linux/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix index d57fdba7310..8df231c961e 100644 --- a/pkgs/os-specific/linux/util-linux/default.nix +++ b/pkgs/os-specific/linux/util-linux/default.nix @@ -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 ] |