From 14de6db28fb689cdb066c5b01a2885b6a6a35157 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 20 Jun 2026 23:29:58 +1200 Subject: feat: Initial commit --- flake.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..095f049 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "Rust flake"; + inputs = + { + nixpkgs.url = "github:nixos/nixpkgs/25.11"; + flake-utils.url = "github:numtide/flake-utils"; + # flake-utils.follows = "nixpkgs"; + }; + + outputs = { self, nixpkgs, ... }@inputs: + inputs.flake-utils.lib.eachDefaultSystem (system: let + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.default = pkgs.mkShell + { + packages = with pkgs; [ + cargo + rustc + rust-analyzer + ]; + }; + }); +} -- cgit v1.3.1