From ea12044fc82a660308988f66a0622ae7f3d75939 Mon Sep 17 00:00:00 2001 From: zedddie Date: Sun, 15 Mar 2026 14:28:31 +0100 Subject: base devshell --- flake.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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"; + }; + }; +} -- cgit v1.2.3