mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
libkrb5: fix build on darwin: add kerberos
and xpc
to propagated build inputs
This commit is contained in:
parent
e1f166b89a
commit
ec80591e94
|
@ -1,5 +1,5 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, perl, bison, bootstrap_cmds
|
||||
, openssl, openldap, libedit, keyutils, libverto
|
||||
, openssl, openldap, libedit, keyutils, libverto, darwin
|
||||
|
||||
# for passthru.tests
|
||||
, bind
|
||||
|
@ -58,6 +58,11 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optionals (!libOnly) [ openldap libedit ]
|
||||
++ lib.optionals withVerto [ libverto ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk; [
|
||||
libs.xpc
|
||||
frameworks.Kerberos
|
||||
]);
|
||||
|
||||
sourceRoot = "krb5-${version}/src";
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue