Merge pull request #161170 from veprbl/pr/pam_p11_darwin_fix

pam_p11: fix on darwin
This commit is contained in:
Renaud 2022-02-27 21:27:32 +01:00 committed by GitHub
commit 35e6b714dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";