summary refs log tree commit diff
path: root/pkgs/development/libraries/ti-rpc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-20 21:29:45 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-21 01:48:22 -0600
commit4d8664e593d54b4ee2722ef6c8286bac8b60418f (patch)
treeada10a6029bb9267062e6cab9900262b3fb88e81 /pkgs/development/libraries/ti-rpc
parentb13af1e87b26a3ee7d81c4b237710a93e1f243e8 (diff)
downloadnixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar.gz
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar.bz2
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar.lz
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar.xz
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.tar.zst
nixpkgs-4d8664e593d54b4ee2722ef6c8286bac8b60418f.zip
libtirpc: fix cross compilation
KRB5_CONFIG needs to be aviailable to get the right one when cross
compiling. These things should just use pkgconfig, but it’s fairly
easy to hack around this. krb5-config will not be on path because we
don’t know ahead of time what architecture it will be for.
Diffstat (limited to 'pkgs/development/libraries/ti-rpc')
-rw-r--r--pkgs/development/libraries/ti-rpc/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ti-rpc/default.nix b/pkgs/development/libraries/ti-rpc/default.nix
index c139b5be102..d67d7618574 100644
--- a/pkgs/development/libraries/ti-rpc/default.nix
+++ b/pkgs/development/libraries/ti-rpc/default.nix
@@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
                 '#if defined __APPLE_CC__ || defined __FreeBSD__ || !defined __GLIBC__'
   '';
 
+  KRB5_CONFIG = "${libkrb5.dev}/bin/krb5-config";
   nativeBuildInputs = [ autoreconfHook ];
   propagatedBuildInputs = [ libkrb5 ];