libsolv: add option to handle conda package resolution

This commit is contained in:
Eric Yen 2024-03-17 00:38:19 -07:00 committed by Sandro Jäckel
parent b1940d0bc0
commit 50b40513a9
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@
, withRpm ? !stdenv.isDarwin
, rpm
, db
, withConda ? true
}:
stdenv.mkDerivation rec {
@ -23,11 +24,12 @@ stdenv.mkDerivation rec {
owner = "openSUSE";
repo = "libsolv";
rev = version;
sha256 = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY=";
hash = "sha256-cL7SDwCzXM2qJQfiu/3nfAiFbcFNn1YXD23Sl3n9nzY=";
};
cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true"
(lib.cmakeBool "ENABLE_CONDA" withConda)
"-DENABLE_LZMA_COMPRESSION=true"
"-DENABLE_BZIP2_COMPRESSION=true"
"-DENABLE_ZSTD_COMPRESSION=true"