2024-05-01 14:21:07 +00:00
|
|
|
{
|
2024-05-10 15:31:27 +00:00
|
|
|
description = "little-hesinde project";
|
2024-05-01 14:21:07 +00:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
fenix.url = "github:nix-community/fenix";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs =
|
|
|
|
{
|
|
|
|
nixpkgs,
|
|
|
|
fenix,
|
|
|
|
flake-utils,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
flake-utils.lib.eachDefaultSystem (
|
|
|
|
system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
rust = fenix.packages.${system}.stable;
|
|
|
|
in
|
|
|
|
{
|
2024-05-06 07:09:40 +00:00
|
|
|
devShells.default = pkgs.mkShell {
|
2024-05-01 14:21:07 +00:00
|
|
|
buildInputs = [
|
|
|
|
rust.toolchain
|
2024-05-06 17:33:58 +00:00
|
|
|
pkgs.cargo-deny
|
2024-05-06 07:09:40 +00:00
|
|
|
pkgs.rust-analyzer
|
2024-05-01 14:21:07 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
2024-05-10 20:42:14 +00:00
|
|
|
);
|
2024-05-01 14:21:07 +00:00
|
|
|
}
|