2023-10-22 08:35:09 -04:00
|
|
|
{
|
2023-11-28 01:49:51 -05:00
|
|
|
description = "forcebot_rs flake";
|
2023-10-22 08:35:09 -04:00
|
|
|
|
|
|
|
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 {
|
2023-11-28 01:49:51 -05:00
|
|
|
name = "forcebot_rs-devenv";
|
2023-10-22 08:35:09 -04:00
|
|
|
buildInputs = with pkgs; [
|
|
|
|
openssl
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
packages = with pkgs; [
|
|
|
|
rustc
|
|
|
|
cargo
|
|
|
|
nil
|
|
|
|
alejandra
|
|
|
|
clippy
|
|
|
|
rustup
|
|
|
|
rustfmt
|
|
|
|
rust-analyzer
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|