summary refs log tree commit diff
path: root/pkgs/development/libraries/kerberos
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-03 14:37:18 -0500
committerGitHub <noreply@github.com>2018-11-03 14:37:18 -0500
commitef4d78adedcfbb69392e7634bc6912c019b88bcc (patch)
tree67297a7653637fe8e0492fd272932898b4eaf5cb /pkgs/development/libraries/kerberos
parentdfd0818aa5c3ef1d6686e8bf8677761740788cd9 (diff)
downloadnixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar.gz
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar.bz2
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar.lz
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar.xz
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.tar.zst
nixpkgs-ef4d78adedcfbb69392e7634bc6912c019b88bcc.zip
krb5: don't pull in keyutils with bionic
keyutils breaks with bionic. since it's an optional dependency, it seems safe to just disable it with libkrb5 (which otherwise works fine with bionic libc).
Diffstat (limited to 'pkgs/development/libraries/kerberos')
-rw-r--r--pkgs/development/libraries/kerberos/krb5.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix
index 4e3ba399cc3..afb928aff6e 100644
--- a/pkgs/development/libraries/kerberos/krb5.nix
+++ b/pkgs/development/libraries/kerberos/krb5.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
     # Provides the mig command used by the build scripts
     ++ optional stdenv.isDarwin bootstrap_cmds;
   buildInputs = [ openssl ]
-    ++ optionals (stdenv.hostPlatform.isLinux) [ keyutils ]
+    ++ optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.libc != "bionic") [ keyutils ]
     ++ optionals (!libOnly) [ openldap libedit ];
 
   preConfigure = "cd ./src";