cyrus-sasl: add support for PAM on Linux

This commit is contained in:
Peter Simons 2012-09-25 12:09:09 +02:00
parent d3dc95834a
commit 23d5a7a042

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, db4, gettext }:
{ stdenv, fetchurl, openssl, db4, gettext, pam }:
stdenv.mkDerivation rec {
name = "cyrus-sasl-2.1.25";
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "418c16e6240a4f9b637cbe3d62937b9675627bad27c622191d47de8686fe24fe";
};
buildInputs = [ openssl db4 gettext ];
buildInputs = [ openssl db4 gettext ] ++ stdenv.lib.optional stdenv.isLinux pam;
# Set this variable at build-time to make sure $out can be evaluated.
preConfigure = ''