pam_p11: fix on darwin

+3 -2
+3 -2
pkgs/os-specific/linux/pam_p11/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, openssl, libp11, pam }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, openssl, libp11, pam, libintl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pam_p11"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 - buildInputs = [ pam openssl libp11 ]; 15 + buildInputs = [ pam openssl libp11 ] 16 + ++ lib.optionals stdenv.isDarwin [ libintl ]; 16 17 17 18 meta = with lib; { 18 19 homepage = "https://github.com/OpenSC/pam_p11";