molehole/flake.nix
2024-03-05 23:34:55 -05:00

28 lines
518 B
Nix

{
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
];
shellHook = ''
exec zsh
'';
};
};
}