fix: rocksdb shenanigans

This commit is contained in:
Shuroii 2025-07-01 19:30:33 +02:00 committed by Shuroii
commit 9f37686b99

View file

@ -14,7 +14,6 @@
};
flake-utils.url = "github:numtide/flake-utils?ref=main";
nix-filter.url = "github:numtide/nix-filter?ref=main";
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixpkgs-unstable";
};
@ -50,7 +49,13 @@
];
buildFlags = [ "library" ];
};
rocksdb = pkgs.rocksdb.overrideAttrs (oldAttrs: {
rocksdb = pkgs.rocksdb_9_10.overrideAttrs (oldAttrs: {
# I'm sure there's a really good reason to use the fork, but it fails to build, so we use nixpkgs instead
# src = inputs.rocksdb;
# We have this already at https://forgejo.ellis.link/continuwuation/rocksdb/commit/a935c0273e1ba44eacf88ce3685a9b9831486155
# Unsetting this so we don't have to revert it and make this nix exclusive
# patches = [ ];
cmakeFlags =
pkgs.lib.subtractLists [
# No real reason to have snappy or zlib, no one uses this