diff options
author | Shav Kinderlehrer <[email protected]> | 2024-03-05 23:34:55 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-03-05 23:34:55 -0500 |
commit | 022574877dbabc1fbb386dc3b59765de528107c9 (patch) | |
tree | e662b3808cd9903ecb76d6a61029ac69de701aa8 /flake.nix | |
download | molehole-022574877dbabc1fbb386dc3b59765de528107c9.tar.gz molehole-022574877dbabc1fbb386dc3b59765de528107c9.zip |
Initial commit
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..c59cb93 --- /dev/null +++ b/flake.nix @@ -0,0 +1,27 @@ +{ + 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 + ''; + }; + }; +} |