2024-03-06 04:34:55 +00:00
|
|
|
{
|
|
|
|
description = "Molerat client implementation";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
let
|
|
|
|
system = "aarch64-darwin";
|
|
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
|
|
in {
|
|
|
|
devShells.${system}.default =
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
rustc
|
|
|
|
rustfmt
|
|
|
|
cargo
|
|
|
|
rust-analyzer
|
|
|
|
libiconv
|
2024-03-07 07:05:03 +00:00
|
|
|
clippy
|
2024-03-06 04:34:55 +00:00
|
|
|
];
|
|
|
|
shellHook = ''
|
|
|
|
exec zsh
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|