chela/flake.nix
2024-04-05 22:41:10 -04:00

31 lines
614 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
clippy
pkg-config
darwin.apple_sdk.frameworks.SystemConfiguration
];
shellHook = ''
exec zsh
'';
};
};
}