Skip to content

Commit

Permalink
Merge pull request #7245 from spwhitt/krb5
Browse files Browse the repository at this point in the history
krb5: fix Darwin build by providing mig
  • Loading branch information
jagajaga committed Apr 7, 2015
2 parents 16ccc46 + 1c0f1ce commit 28a4708
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/libraries/kerberos/krb5.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap, bootstrap_cmds }:

let
pname = "krb5";
Expand All @@ -15,7 +15,9 @@ stdenv.mkDerivation (rec {
sha256 = "0gk6jvr64rf6l4xcyxn8i3fr5d1j7dhqvwyv3vw2qdkzz7yjkxjd";
};

buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ];
buildInputs = [ pkgconfig perl ncurses yacc openssl openldap ]
# Provides the mig command used by the build scripts
++ stdenv.lib.optional stdenv.isDarwin bootstrap_cmds ;

unpackPhase = ''
tar -xf $src
Expand All @@ -31,7 +33,7 @@ stdenv.mkDerivation (rec {
description = "MIT Kerberos 5";
homepage = webpage;
license = "MPL";
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};

Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6172,6 +6172,7 @@ let
openldap = openldap.override {
cyrus_sasl = cyrus_sasl.override { kerberos = null; };
};
inherit (darwin) bootstrap_cmds;
};

LASzip = callPackage ../development/libraries/LASzip { };
Expand Down

0 comments on commit 28a4708

Please sign in to comment.