diff options
author | Marc Seeger <mseeger@fb.com> | 2020-12-30 07:08:49 -0800 |
---|---|---|
committer | Marc Seeger <mseeger@fb.com> | 2020-12-30 07:08:49 -0800 |
commit | efef8e996351d2924650d9cb61ca734aa9cecb46 (patch) | |
tree | b251c4de1913c797295f229768c929d856b59c5f /pkgs/tools/package-management | |
parent | e92cc61453b44d00143c972336ec4fd15c2c2aaf (diff) | |
download | nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar.gz nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar.bz2 nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar.lz nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar.xz nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.tar.zst nixlib-efef8e996351d2924650d9cb61ca734aa9cecb46.zip |
librepo: enable zchunk support on darwin
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/librepo/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/tools/package-management/librepo/default.nix b/pkgs/tools/package-management/librepo/default.nix index f636560844b2..203d5e20f881 100644 --- a/pkgs/tools/package-management/librepo/default.nix +++ b/pkgs/tools/package-management/librepo/default.nix @@ -38,9 +38,8 @@ stdenv.mkDerivation rec { curl check gpgme - ] - # zchunk currently has issues compiling in darwin, fine in linux - ++ stdenv.lib.optional stdenv.isLinux zchunk; + zchunk + ]; # librepo/fastestmirror.h includes curl/curl.h, and pkg-config specfile refers to others in here propagatedBuildInputs = [ @@ -49,9 +48,7 @@ stdenv.mkDerivation rec { libxml2 ]; - cmakeFlags = [ - "-DPYTHON_DESIRED=${stdenv.lib.substring 0 1 python.pythonVersion}" - ] ++ stdenv.lib.optional stdenv.isDarwin "-DWITH_ZCHUNK=OFF"; + cmakeFlags = [ "-DPYTHON_DESIRED=${stdenv.lib.substring 0 1 python.pythonVersion}" ]; postFixup = '' moveToOutput "lib/${python.libPrefix}" "$py" |