nixpkgs' rocksdb is too old :(

This commit is contained in:
Charles Hall 2023-06-17 17:04:57 -07:00
parent 4a7d3c7301
commit abd0a014e8
No known key found for this signature in database
GPG Key ID: 7B8E0645816E07CF

View File

@ -43,10 +43,6 @@
sha256 = "sha256-gdYqng0y9iHYzYPAdkC/ka3DRny3La/S5G8ASj0Ayyc="; sha256 = "sha256-gdYqng0y9iHYzYPAdkC/ka3DRny3La/S5G8ASj0Ayyc=";
}; };
# The system's RocksDB
ROCKSDB_INCLUDE_DIR = "${pkgs.rocksdb_6_23}/include";
ROCKSDB_LIB_DIR = "${pkgs.rocksdb_6_23}/lib";
# Shared between the package and the devShell # Shared between the package and the devShell
nativeBuildInputs = (with pkgs.rustPlatform; [ nativeBuildInputs = (with pkgs.rustPlatform; [
bindgenHook bindgenHook
@ -61,9 +57,7 @@
inherit inherit
stdenv stdenv
nativeBuildInputs nativeBuildInputs;
ROCKSDB_INCLUDE_DIR
ROCKSDB_LIB_DIR;
}; };
devShells.default = (pkgs.mkShell.override { inherit stdenv; }) { devShells.default = (pkgs.mkShell.override { inherit stdenv; }) {
@ -71,10 +65,6 @@
# sources, and it can read this environment variable to do so # sources, and it can read this environment variable to do so
RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/library"; RUST_SRC_PATH = "${toolchain.rust-src}/lib/rustlib/src/rust/library";
inherit
ROCKSDB_INCLUDE_DIR
ROCKSDB_LIB_DIR;
# Development tools # Development tools
nativeBuildInputs = nativeBuildInputs ++ (with toolchain; [ nativeBuildInputs = nativeBuildInputs ++ (with toolchain; [
cargo cargo