pam_p11: fix on darwin

main
Dmitry Kalinkin 2 years ago
parent bf3b862b94
commit 377cfd903b
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 5
      pkgs/os-specific/linux/pam_p11/default.nix

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

Loading…
Cancel
Save