warthunder-leak-counter/flake.nix
2024-06-22 02:54:58 -03:00

39 lines
709 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
inherit (pkgs) lib;
in
{
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
rustc
cargo
rustfmt
rust-analyzer
clippy
cargo-feature
cargo-watch
pkg-config
openssl
curl
];
};
}
);
}