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:
parent
c3991a8c08
commit
ddc8398e7f
|
@ -5,6 +5,7 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, buildFHSUserEnv
|
, buildFHSUserEnv
|
||||||
, libselinux
|
, libselinux
|
||||||
|
, libarchive
|
||||||
, xorg
|
, xorg
|
||||||
# Conda installs its packages and environments under this directory
|
# Conda installs its packages and environments under this directory
|
||||||
, installationPath ? "~/.conda"
|
, installationPath ? "~/.conda"
|
||||||
|
@ -59,6 +60,7 @@ in
|
||||||
# Some other required environment variables
|
# Some other required environment variables
|
||||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||||
export QTCOMPOSE=${xorg.libX11}/share/X11/locale
|
export QTCOMPOSE=${xorg.libX11}/share/X11/locale
|
||||||
|
export LIBARCHIVE=${libarchive.lib}/lib/libarchive.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue