mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 08:01:50 +00:00
krb5: fix Darwin build by providing mig
This commit is contained in:
parent
16ccc46c29
commit
1c0f1ce949
pkgs
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap }:
|
{ stdenv, fetchurl, pkgconfig, perl, ncurses, yacc, openssl, openldap, bootstrap_cmds }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "krb5";
|
pname = "krb5";
|
||||||
|
@ -15,7 +15,9 @@ stdenv.mkDerivation (rec {
|
||||||
sha256 = "0gk6jvr64rf6l4xcyxn8i3fr5d1j7dhqvwyv3vw2qdkzz7yjkxjd";
|
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 = ''
|
unpackPhase = ''
|
||||||
tar -xf $src
|
tar -xf $src
|
||||||
|
@ -31,7 +33,7 @@ stdenv.mkDerivation (rec {
|
||||||
description = "MIT Kerberos 5";
|
description = "MIT Kerberos 5";
|
||||||
homepage = webpage;
|
homepage = webpage;
|
||||||
license = "MPL";
|
license = "MPL";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ wkennington ];
|
maintainers = with maintainers; [ wkennington ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -6172,6 +6172,7 @@ let
|
||||||
openldap = openldap.override {
|
openldap = openldap.override {
|
||||||
cyrus_sasl = cyrus_sasl.override { kerberos = null; };
|
cyrus_sasl = cyrus_sasl.override { kerberos = null; };
|
||||||
};
|
};
|
||||||
|
inherit (darwin) bootstrap_cmds;
|
||||||
};
|
};
|
||||||
|
|
||||||
LASzip = callPackage ../development/libraries/LASzip { };
|
LASzip = callPackage ../development/libraries/LASzip { };
|
||||||
|
|
Loading…
Reference in a new issue