libsolv: enable complex deps
This is required for recent libdnf used by rpm-ostree.
This commit is contained in:
parent
9db625c7ab
commit
264bcd67cb
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user