passwdqc: Darwin-specific upstream patch
This commit is contained in:
parent
862dc6ce97
commit
8b5666c133
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, libxcrypt
|
||||
, pam
|
||||
, pkg-config
|
||||
|
@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-EgPeccqS+DDDMBVMc4bd70EMnXFuyglftxuqoaYHwNY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "0001-fix-solaris-macos-builds.patch";
|
||||
url = "https://github.com/openwall/passwdqc/commit/fbf38229857f3d1982aa305c20da5e1ea0195b3e.patch";
|
||||
hash = "sha256-FaEWROHwFzd4ZTeKyPvuAr9vcgnHEv8MhERblIU8JC4=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -42,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
"MANDIR=$(man)/man"
|
||||
"PKGCONFIGDIR=$(out)/lib/pkgconfig"
|
||||
"SECUREDIR=$(out)/lib/security"
|
||||
"SECUREDIR_DARWIN=$(out)/lib/security"
|
||||
"SHARED_LIBDIR=$(out)/lib"
|
||||
"SHARED_LIBDIR_REL=$(out)/lib"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue