python*Packages.gssapi: fixup after splitting libkrb

/cc #29785.
This commit is contained in:
Vladimír Čunát 2017-12-24 11:08:30 +01:00
parent c303047032
commit d54ff360f5
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -11,6 +11,12 @@ buildPythonPackage rec {
sha256 = "1q6ccpz6anl9vggwxdq32wp6xjh2lyfbf7av6jqnmvmyqdfwh3b9";
};
# It's used to locate headers
postPatch = ''
substituteInPlace setup.py \
--replace "get_output('krb5-config gssapi --prefix')" "'${lib.getDev krb5Full}'"
'';
LD_LIBRARY_PATH = "${pkgs.krb5Full}/lib";
buildInputs = [ krb5Full which nose shouldbe ]