pam: add audit dependency

This allows building the pam_tty_audit module, among others
This commit is contained in:
Maciej Krüger 2021-09-13 14:26:30 +02:00
parent c419405421
commit eeaf2004b0
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -1,4 +1,4 @@
{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext
{ lib, stdenv, buildPackages, fetchurl, flex, cracklib, db4, gettext, audit
, nixosTests
, withLibxcrypt ? false, libxcrypt
}:
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ flex ]
++ lib.optional stdenv.buildPlatform.isDarwin gettext;
buildInputs = [ cracklib db4 ]
buildInputs = [ cracklib db4 audit ]
++ lib.optional withLibxcrypt libxcrypt;
enableParallelBuilding = true;