diff options
author | Josef Kemetmüller <josef.kemetmueller@gmail.com> | 2018-05-22 02:29:14 +0200 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-05-22 18:19:28 +0300 |
commit | 020957716e2544db90628762f7561580b2b40d3a (patch) | |
tree | 10f6ddbf404862439b74dfa98c36a73a05bfb9bb /pkgs/development/libraries/kerberos | |
parent | 9a100e3e31a0dd0c7d462787b0aabaaf3fc23a11 (diff) | |
download | nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar.gz nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar.bz2 nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar.lz nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar.xz nixpkgs-020957716e2544db90628762f7561580b2b40d3a.tar.zst nixpkgs-020957716e2544db90628762f7561580b2b40d3a.zip |
heimdal: Fix darwin build
Diffstat (limited to 'pkgs/development/libraries/kerberos')
-rw-r--r-- | pkgs/development/libraries/kerberos/heimdal.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/libraries/kerberos/heimdal.nix b/pkgs/development/libraries/kerberos/heimdal.nix index 36ee3fe2d3a..24adb2a141e 100644 --- a/pkgs/development/libraries/kerberos/heimdal.nix +++ b/pkgs/development/libraries/kerberos/heimdal.nix @@ -1,7 +1,7 @@ { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, perl, yacc, flex , texinfo, perlPackages , openldap, libcap_ng, sqlite, openssl, db, libedit, pam - +, CoreFoundation, Security, SystemConfiguration # Extra Args , type ? "" }: @@ -26,8 +26,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkgconfig python2 perl yacc flex ] ++ (with perlPackages; [ JSON ]) ++ optional (!libOnly) texinfo; - buildInputs = optionals (!stdenv.isFreeBSD) [ libcap_ng db ] - ++ [ sqlite openssl libedit ] + buildInputs = optionals (stdenv.isLinux) [ libcap_ng ] + ++ [ db sqlite openssl libedit ] + ++ optionals (stdenv.isDarwin) [ CoreFoundation Security SystemConfiguration ] ++ optionals (!libOnly) [ openldap pam ]; ## ugly, X should be made an option @@ -43,7 +44,7 @@ stdenv.mkDerivation rec { "--with-berkeley-db-include=${db.dev}/include" ] ++ optionals (!libOnly) [ "--with-openldap=${openldap.dev}" - ] ++ optionals (!stdenv.isFreeBSD) [ + ] ++ optionals (stdenv.isLinux) [ "--with-capng" ]; @@ -93,7 +94,7 @@ stdenv.mkDerivation rec { meta = { description = "An implementation of Kerberos 5 (and some more stuff)"; license = licenses.bsd3; - platforms = platforms.linux ++ platforms.freebsd; + platforms = platforms.unix; maintainers = with maintainers; [ wkennington ]; }; |