mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
pam_p11: fix against openssl_3
This commit is contained in:
parent
5d74e13d2c
commit
d0c8f68a50
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libp11, pam, libintl }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libp11, pam, libintl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam_p11";
|
||||
|
@ -11,6 +11,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1caidy18rq5zk82d51x8vwidmkhwmanf3qm25x1yrdlbhxv6m7lk";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fix with openssl 3.x
|
||||
(fetchpatch {
|
||||
url = "https://github.com/OpenSC/pam_p11/pull/22.patch";
|
||||
excludes = [ ".github/build.sh" ];
|
||||
hash = "sha256-bm/agnBgvrr8L8yoGK4gzBqOGgsNWf9NIgcNJG7proE=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ pam libp11.passthru.openssl libp11 ]
|
||||
++ lib.optionals stdenv.isDarwin [ libintl ];
|
||||
|
|
|
@ -22163,9 +22163,7 @@ with pkgs;
|
|||
|
||||
libow = callPackage ../development/libraries/libow { };
|
||||
|
||||
libp11 = callPackage ../development/libraries/libp11 {
|
||||
openssl = openssl_1_1;
|
||||
};
|
||||
libp11 = callPackage ../development/libraries/libp11 { };
|
||||
|
||||
libpam-wrapper = callPackage ../development/libraries/libpam-wrapper { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue