pam: Make libxcrypt a non-optional dependency
Our PAM configuration now defaults to yescrypt, which requires libxcrypt.
This commit is contained in:
parent
0d7cd66652
commit
909f394f28
1 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
|||
{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext, audit
|
||||
{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext, audit, libxcrypt
|
||||
, nixosTests
|
||||
, withLibxcrypt ? true, libxcrypt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -20,9 +19,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ flex ]
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin gettext;
|
||||
|
||||
buildInputs = [ cracklib db4 ]
|
||||
++ lib.optional stdenv.buildPlatform.isLinux audit
|
||||
++ lib.optional withLibxcrypt libxcrypt;
|
||||
buildInputs = [ cracklib db4 libxcrypt ]
|
||||
++ lib.optional stdenv.buildPlatform.isLinux audit;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue