2024-04-04 13:17:07 +03:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs:
|
|
|
|
inputs.flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let pkgs = import inputs.nixpkgs { inherit system; };
|
|
|
|
in {
|
|
|
|
formatter = pkgs.nixpkgs-fmt;
|
|
|
|
|
|
|
|
devShell = pkgs.mkShell {
|
|
|
|
packages = [
|
|
|
|
pkgs.cargo
|
|
|
|
pkgs.clippy
|
2024-04-04 13:47:20 +03:00
|
|
|
pkgs.libiconv
|
2024-04-04 13:47:29 +03:00
|
|
|
pkgs.rust-analyzer
|
|
|
|
pkgs.rustc
|
|
|
|
pkgs.rustfmt
|
2024-04-10 14:20:39 +03:00
|
|
|
|
|
|
|
# formatters
|
|
|
|
pkgs.elmPackages.elm-format
|
|
|
|
pkgs.nodePackages.prettier
|
2024-04-04 13:17:07 +03:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|