conda: Add LIBARCHIVE

`conda-build` needs to be able to find libarchive to extract packages;
it tries to `dlopen` the library given by `LIBARCHIVE`.
This commit is contained in:
Profpatsch 2019-06-18 10:13:23 +02:00
parent c3991a8c08
commit ddc8398e7f

View file

@ -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 = {