Skip to content

Commit e44f4aa

Browse files
committed
enable nix assertion of OCaml RocksDB stub version
1 parent edbbd3e commit e44f4aa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nix/ocaml.nix

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ let
6666
};
6767

6868
rocksdb_stubs =
69-
# TODO uncomment after updating rocksdb_stubs to 10.5.1
70-
# assert (super.rocksdb_stubs.version == pkgs.rocksdb-mina.version)
71-
# || builtins.throw
72-
# "rocksdb_stubs version (${super.rocksdb_stubs.version}) does not match rocksdb-mina version (${pkgs.rocksdb-mina.version})";
69+
assert (super.rocksdb_stubs.version == pkgs.rocksdb-mina.version)
70+
|| builtins.throw
71+
"rocksdb_stubs version (${super.rocksdb_stubs.version}) does not match rocksdb-mina version (${pkgs.rocksdb-mina.version})";
7372
super.rocksdb_stubs.overrideAttrs {
7473
MINA_ROCKSDB = "${pkgs.rocksdb-mina}/lib/librocksdb.a";
7574
};

0 commit comments

Comments
 (0)