33 lines
597 B
Nix
33 lines
597 B
Nix
{
|
|
description = "forcebot_rs 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 = "forcebot_rs-devenv";
|
|
buildInputs = with pkgs; [
|
|
openssl
|
|
pkg-config
|
|
];
|
|
packages = with pkgs; [
|
|
rustc
|
|
cargo
|
|
nil
|
|
alejandra
|
|
clippy
|
|
rustup
|
|
rustfmt
|
|
rust-analyzer
|
|
];
|
|
};
|
|
};
|
|
}
|