summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzedddie <rust@zedddie.rs>2026-03-15 14:28:31 +0100
committertuturuu <zedddiezxc@gmail.com>2026-03-15 14:28:31 +0100
commitea12044fc82a660308988f66a0622ae7f3d75939 (patch)
treedc6eb3047864eb73cc7fc86bd2523e795f3b7e8b
parent1b6a2f126af11f493aea55a24bf63981f6d6fa20 (diff)
base devshell
-rw-r--r--flake.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..90abf9c
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,30 @@
+{
+ inputs = {
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
+ };
+
+ outputs =
+ {
+ self,
+ nixpkgs,
+ }:
+ let
+ system = "x86_64-linux";
+ pkgs = import nixpkgs { inherit system; };
+
+ runtimeLibs = with pkgs; [
+ ];
+ in
+ {
+ devShells.${system}.default = pkgs.mkShell {
+ nativeBuildInputs = with pkgs; [
+ cargo
+ rustfmt
+ git
+ pkg-config
+ openssl
+ ];
+ shellHook = "exec fish";
+ };
+ };
+}