diff options
author | Spencer Whitt <sw@swhitt.me> | 2015-04-06 15:21:43 -0400 |
---|---|---|
committer | Spencer Whitt <sw@swhitt.me> | 2015-04-07 12:51:14 -0400 |
commit | 1c0f1ce949a839791ed2eb1a4d5fde3753afaa10 (patch) | |
tree | 10dbd9e296c9824bc81ccb398bdd5ad1efb384c1 /pkgs/development/libraries/kerberos | |
parent | 16ccc46c2916e927819444edc7ae7bdf9f5b635a (diff) | |
download | nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar.gz nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar.bz2 nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar.lz nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar.xz nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.tar.zst nixlib-1c0f1ce949a839791ed2eb1a4d5fde3753afaa10.zip |
krb5: fix Darwin build by providing mig
Diffstat (limited to 'pkgs/development/libraries/kerberos')
-rw-r--r-- | pkgs/development/libraries/kerberos/krb5.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix index 1f396fff1cf1..41c570ee554e 100644 --- a/pkgs/development/libraries/kerberos/krb5.nix +++ b/pkgs/development/libraries/kerberos/krb5.nix @@ -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"; @@ -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 @@ -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 ]; }; |