Skip to content

Commit

Permalink
add rocksdb.tools to shell for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed May 21, 2024
1 parent 9c85a45 commit 22b3430
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,21 @@
};
defaultPackage = packages.cronosd;
defaultApp = apps.cronosd;
devShells = {
devShells = rec {
default = pkgs.mkShell {
buildInputs = [
defaultPackage.go
pkgs.gomod2nix
];
};
rocksdb = pkgs.mkShell {
buildInputs = [
defaultPackage.go
pkgs.gomod2nix
buildInputs = default.buildInputs ++ [
pkgs.rocksdb
pkgs.rocksdb.tools
];
};
full = pkgs.mkShell {
buildInputs = [
defaultPackage.go
pkgs.gomod2nix
pkgs.rocksdb
buildInputs = rocksdb.buildInputs ++ [
pkgs.test-env
];
};
Expand Down

0 comments on commit 22b3430

Please sign in to comment.