Merge pull request #160408 from r-burns/linux-pam-from-darwin
pam: fix cross-compilation from darwin
This commit is contained in:
commit
dfd24b1450
@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ flex ]
|
||||
++ lib.optional stdenv.buildPlatform.isDarwin gettext;
|
||||
|
||||
buildInputs = [ cracklib db4 audit ]
|
||||
buildInputs = [ cracklib db4 ]
|
||||
++ lib.optional stdenv.buildPlatform.isLinux audit
|
||||
++ lib.optional withLibxcrypt libxcrypt;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user