@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
1+{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap, bootstrap_cmds }:
22
33let
44 pname = "krb5";
@@ -15,7 +15,9 @@ stdenv.mkDerivation (rec {
1515 sha256 = "0gk6jvr64rf6l4xcyxn8i3fr5d1j7dhqvwyv3vw2qdkzz7yjkxjd";
1616 };
1717
18− buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ];
18+ buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ]
19+ # Provides the mig command used by the build scripts
20+ ++ stdenv.lib.optional stdenv.isDarwin bootstrap_cmds ;
1921
2022 unpackPhase = ''
2123 tar -xf $src
@@ -31,7 +33,7 @@ stdenv.mkDerivation (rec {
3133 description = "MIT Kerberos 5";
3234 homepage = webpage;
3335 license = "MPL";
34− platforms = platforms.linux;
36+ platforms = platforms.unix;
3537 maintainers = with maintainers; [ wkennington ];
3638 };
3739