libsolv: add option to handle conda package resolution
This commit is contained in:
parent
b1940d0bc0
commit
50b40513a9
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue