diff options
| author | Dylan <boss@tehbox.org> | 2026-06-20 23:29:58 +1200 |
|---|---|---|
| committer | Dylan <boss@tehbox.org> | 2026-06-21 15:03:02 +1200 |
| commit | 14de6db28fb689cdb066c5b01a2885b6a6a35157 (patch) | |
| tree | 54aeeaa7859bed134b944a0d23bb30814015512d /flake.nix | |
| parent | 2d467c488943cea159876b35e3f5c1ba05433189 (diff) | |
| download | tehimage-rs-14de6db28fb689cdb066c5b01a2885b6a6a35157.tar.gz tehimage-rs-14de6db28fb689cdb066c5b01a2885b6a6a35157.zip | |
feat: Initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
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 + ]; + }; + }); +} |
