poco: propagate dependencies imported by CMake scripts
This also requires enable multiple outputs to prevent the closure size from increasing.
This commit is contained in:
parent
8f41eda98b
commit
2122017a11
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
buildInputs = [ zlib pcre expat sqlite openssl unixODBC libmysqlclient ];
|
||||
buildInputs = [ openssl unixODBC libmysqlclient ];
|
||||
propagatedBuildInputs = [ zlib pcre expat sqlite ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
MYSQL_DIR = libmysqlclient;
|
||||
MYSQL_INCLUDE_DIR = "${MYSQL_DIR}/include/mysql";
|
||||
|
|
Loading…
Reference in a new issue