libsolv: enable complex deps

This is required for recent libdnf used by rpm-ostree.
This commit is contained in:
Jan Tojnar 2018-06-03 02:52:41 +02:00
parent 9db625c7ab
commit 264bcd67cb
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, zlib, expat, rpm, db }:
{ stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
stdenv.mkDerivation rec {
rev = "0.6.34";
@ -11,9 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "1knr48dilg8kscbmpjvd7m2krvgcdq0f9vpbqcgmxxa969mzrcy7";
};
cmakeFlags = "-DENABLE_RPMMD=true -DENABLE_RPMDB=true -DENABLE_PUBKEY=true -DENABLE_RPMDB_BYRPMHEADER=true";
cmakeFlags = [
"-DENABLE_COMPLEX_DEPS=true"
"-DENABLE_RPMMD=true"
"-DENABLE_RPMDB=true"
"-DENABLE_PUBKEY=true"
"-DENABLE_RPMDB_BYRPMHEADER=true"
];
buildInputs = [ cmake zlib expat rpm db ];
nativeBuildInputs = [ cmake ninja ];
buildInputs = [ zlib expat rpm db ];
meta = with stdenv.lib; {
description = "A free package dependency solver";