Skip to content

Commit 8cb20b5

Browse files
Nix configuration
1 parent 94b9a5e commit 8cb20b5

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

flake.nix

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
description = "Dev shell for op-succinct (tests via just)";
3+
4+
inputs = {
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = { self, nixpkgs, flake-utils, ... }:
10+
flake-utils.lib.eachDefaultSystem (system:
11+
let
12+
pkgs = import nixpkgs {
13+
inherit system;
14+
};
15+
in {
16+
devShells.default = pkgs.mkShell {
17+
buildInputs = with pkgs; [
18+
rustc
19+
cargo
20+
rustfmt
21+
clippy
22+
just
23+
pkg-config
24+
openssl
25+
protobuf
26+
clang
27+
cmake
28+
git
29+
jq
30+
zlib
31+
curl
32+
];
33+
};
34+
});
35+
}

0 commit comments

Comments
 (0)