diff --git a/flake.nix b/flake.nix index 7c108353..0e6acea2 100644 --- a/flake.nix +++ b/flake.nix @@ -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