update rocksdb to 8.10.0 in nix flake

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-02-14 13:08:23 -05:00 committed by June
parent 4bcedf7f4b
commit 0e7ec9f2dd
2 changed files with 31 additions and 9 deletions

View file

@ -32,6 +32,28 @@
let
pkgsHost = nixpkgs.legacyPackages.${system};
pkgs = import nixpkgs {
inherit system;
overlays = [
(final: prev: {
rocksdb = prev.rocksdb.overrideAttrs (old:
let
version = "8.10.0";
in
{
inherit version;
src = pkgs.fetchFromGitHub {
owner = "facebook";
repo = "rocksdb";
rev = "v${version}";
hash = "sha256-KGsYDBc1fz/90YYNGwlZ0LUKXYsP1zyhP29TnRQwgjQ=";
};
});
})
];
};
# Nix-accessible `Cargo.toml`
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);