pam_p11: fix on darwin

This commit is contained in:
Dmitry Kalinkin
2022-02-21 01:13:41 -05:00
parent bf3b862b94
commit 377cfd903b
+3 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, openssl, libp11, pam }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, openssl, libp11, pam, libintl }:
stdenv.mkDerivation rec {
pname = "pam_p11";
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ pam openssl libp11 ];
buildInputs = [ pam openssl libp11 ]
++ lib.optionals stdenv.isDarwin [ libintl ];
meta = with lib; {
homepage = "https://github.com/OpenSC/pam_p11";