diff --git a/pkgs/development/libraries/rocksdb/default.nix b/pkgs/development/libraries/rocksdb/default.nix index 9a481c0b20f1..a8f8ab31d1c2 100644 --- a/pkgs/development/libraries/rocksdb/default.nix +++ b/pkgs/development/libraries/rocksdb/default.nix @@ -36,10 +36,13 @@ stdenv.mkDerivation rec { JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc"; buildFlags = [ + "shared_lib" "static_lib" ]; installFlags = [ + "install-shared" + "install-static" "INSTALL_PATH=\${out}" ];