forcebot_rs/flake.nix
2023-10-22 08:35:09 -04:00

34 lines
589 B
Nix

{
description = "daphbot flake";
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
};
outputs = {nixpkgs, ...}: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
};
in {
devShells.${system}.default = pkgs.mkShell {
name = "daphbot-devenv";
buildInputs = with pkgs; [
openssl
pkg-config
];
packages = with pkgs; [
rustc
cargo
nil
alejandra
clippy
rustup
rustfmt
rust-analyzer
];
};
};
}