From ddc8398e7f1693235cf6fd538f5b836b7415d85a Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Tue, 18 Jun 2019 10:13:23 +0200 Subject: [PATCH] conda: Add LIBARCHIVE `conda-build` needs to be able to find libarchive to extract packages; it tries to `dlopen` the library given by `LIBARCHIVE`. --- pkgs/tools/package-management/conda/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/package-management/conda/default.nix b/pkgs/tools/package-management/conda/default.nix index 5ddcee6d1d33..71dd78618081 100644 --- a/pkgs/tools/package-management/conda/default.nix +++ b/pkgs/tools/package-management/conda/default.nix @@ -5,6 +5,7 @@ , makeWrapper , buildFHSUserEnv , libselinux +, libarchive , xorg # Conda installs its packages and environments under this directory , installationPath ? "~/.conda" @@ -59,6 +60,7 @@ in # Some other required environment variables export FONTCONFIG_FILE=/etc/fonts/fonts.conf export QTCOMPOSE=${xorg.libX11}/share/X11/locale + export LIBARCHIVE=${libarchive.lib}/lib/libarchive.so ''; meta = {