git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7245 from spwhitt/krb5

krb5: fix Darwin build by providing mig

commit28a470859b0c52fe1709fc97355cc3432e0faf1c authorArseniy Seroka <jagajaga@users.noreply.github.com> dateTue 7 Apr 2015, 20:30 (12 years ago) parent16ccc461c0f1ce
2 files changed+6−3
pkgs/development/libraries/kerberos/krb5.nix+5−3 pkgs/top-level/all-packages.nix+1
pkgs/development/libraries/kerberos/krb5.nix+5−3
@@ -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
pkgs/top-level/all-packages.nix+1
@@ -6172,6 +6172,7 @@ let
61726172 openldap = openldap.override {
61736173 cyrus_sasl = cyrus_sasl.override { kerberos = null; };
61746174 };
6175+ inherit (darwin) bootstrap_cmds;
61756176 };
61766177
61776178 LASzip = callPackage ../development/libraries/LASzip { };