diff options
author | William A. Kennington III <william@wkennington.com> | 2015-01-01 00:07:49 -0800 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-01-01 00:07:49 -0800 |
commit | cd833ea6ddae0a0d57077b56d0ddeef30587a9ef (patch) | |
tree | 1a96c8c6a5da81a7348093cc15d4a1b23687fec5 /pkgs/servers | |
parent | 400cd62cfc8bf0d6ce5e956d63881672b8f5dfec (diff) |
kerberos: Disable on darwin
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/openafs-client/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/openafs-client/default.nix b/pkgs/servers/openafs-client/default.nix index 9d9df2e38c0e1..1d9bd52d9120f 100644 --- a/pkgs/servers/openafs-client/default.nix +++ b/pkgs/servers/openafs-client/default.nix @@ -34,11 +34,13 @@ stdenv.mkDerivation { ./regen.sh - export KRB5_CONFIG=${kerberos}/bin/krb5-config + ${optionalString (kerberos != null) '' + export KRB5_CONFIG=${kerberos}/bin/krb5-config" + ''} configureFlagsArray=( "--with-linux-kernel-build=$TMP/linux" - "--with-krb5" + ${stdenv.lib.optionalString (kerberos != null) "--with-krb5"} "--sysconfdir=/etc/static" ) ''; |