0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-18 18:08:21 +02:00

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

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"