nix: explicitly configure rocksdb in default.nix

This commit is contained in:
Tony O 2020-05-15 22:50:08 +01:00 committed by GitHub
parent 72f9fcb01f
commit 3b927c5f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@ stdenv.mkDerivation rec {
"--with-boost-libdir=${pkgs.boost.out}/lib"
"--with-boost=${pkgs.boost.dev}"
"--with-magic-file=${pkgs.file}/share/misc/magic.mgc"
"--with-rocksdb-includes=${pkgs.rocksdb.src}"
"--with-rocksdb-libs=${pkgs.rocksdb.out}"
] ++ lib.optional useJemalloc "--enable-jemalloc"
++ lib.optional withGraphicsMagick [
"--with-imagemagick-includes=${pkgs.graphicsmagick}/include/GraphicsMagick"