summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-06-20 23:29:58 +1200
committerDylan <boss@tehbox.org>2026-06-21 15:03:02 +1200
commit14de6db28fb689cdb066c5b01a2885b6a6a35157 (patch)
tree54aeeaa7859bed134b944a0d23bb30814015512d /flake.nix
parent2d467c488943cea159876b35e3f5c1ba05433189 (diff)
downloadtehimage-rs-14de6db28fb689cdb066c5b01a2885b6a6a35157.tar.gz
tehimage-rs-14de6db28fb689cdb066c5b01a2885b6a6a35157.zip
feat: Initial commit
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
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
+ ];
+ };
+ });
+}