Merge pull request #114794 from dottedmag/libxcrypt-pam
linux-pam: Optionally build with libxcrypt
This commit is contained in:
commit
579622089c
@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext
|
||||
, nixosTests
|
||||
, withLibxcrypt ? false, libxcrypt
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -17,7 +18,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ flex ]
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin gettext;
|
||||
|
||||
buildInputs = [ cracklib db4 ];
|
||||
buildInputs = [ cracklib db4 ]
|
||||
++ lib.optional withLibxcrypt libxcrypt;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user