summary refs log tree commit diff
path: root/pkgs/development/libraries/kerberos
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-11 20:51:48 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-11 21:28:51 -0400
commitd453273fbf86ff1526094a84b01ef8fb9fad98e3 (patch)
tree9f35a286675c3ca58c84f5b4ab40fe3ee33ce18f /pkgs/development/libraries/kerberos
parentd0506bed9f8218f7d09e0c3f439424ff64086011 (diff)
downloadnixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar.gz
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar.bz2
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar.lz
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar.xz
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.tar.zst
nixpkgs-d453273fbf86ff1526094a84b01ef8fb9fad98e3.zip
llvm8: support c++ in cross case
this adds libc++ to the LLVM cross, giving us access to the full
Nixpkgs set. This requires 4 stages of wrapped compilers:

- Clang with no libraries
- Clang with just compiler-rt
- Clang with Libc, and compiler-rt
- Clang with Libc++, Libc, and compiler-rt
Diffstat (limited to 'pkgs/development/libraries/kerberos')
-rw-r--r--pkgs/development/libraries/kerberos/krb5.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix
index a2b78231f74..208f294aef7 100644
--- a/pkgs/development/libraries/kerberos/krb5.nix
+++ b/pkgs/development/libraries/kerberos/krb5.nix
@@ -39,8 +39,9 @@ stdenv.mkDerivation rec {
     ++ optional (!libOnly) yacc
     # Provides the mig command used by the build scripts
     ++ optional stdenv.isDarwin bootstrap_cmds;
+
   buildInputs = [ openssl ]
-    ++ optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "bionic") [ keyutils ]
+    ++ optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "bionic" && !(stdenv.hostPlatform.useLLVM or false)) [ keyutils ]
     ++ optionals (!libOnly) [ openldap libedit ];
 
   preConfigure = "cd ./src";