Skip to content

Commit

Permalink
python*Packages.gssapi: fixup after splitting libkrb
Browse files Browse the repository at this point in the history
/cc #29785.
  • Loading branch information
vcunat committed Dec 24, 2017
1 parent c303047 commit d54ff36
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/development/python-modules/gssapi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ buildPythonPackage rec {
sha256 = "1q6ccpz6anl9vggwxdq32wp6xjh2lyfbf7av6jqnmvmyqdfwh3b9";
};

LD_LIBRARY_PATH="${pkgs.krb5Full}/lib";
# 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 ]
++ ( if stdenv.isDarwin then [ darwin.apple_sdk.frameworks.GSS ] else [ gss ] );
Expand Down

0 comments on commit d54ff36

Please sign in to comment.