molehole/flake.nix

28 lines
518 B
Nix
Raw Normal View History

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