vapore/flake.nix

38 lines
796 B
Nix
Raw Normal View History

2024-04-24 02:15:12 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
utils,
}:
utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default =
with pkgs;
mkShell {
packages = [
rustPackages.cargo
rustPackages.rustc
rustPackages.rustfmt
rustPackages.clippy
2024-08-25 03:51:35 +00:00
protobuf
2024-04-24 02:15:12 +00:00
];
RUST_SRC_PATH = "${rustPackages.rustPlatform.rustLibSrc}";
RUST_LOG = "debug,vapored=trace,vapore-client=trace";
2024-04-24 02:15:12 +00:00
};
formatter = pkgs.nixfmt-rfc-style;
}
);
}