diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f721b97 --- /dev/null +++ b/flake.lock @@ -0,0 +1,25 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1728279793, + "narHash": "sha256-W3D5YpNrUVTFPVU4jiEiboaaUDShaiH5fRl9aJLqUnU=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f85a2d005e83542784a755ca8da112f4f65c4aa4", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..4272953 --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + description = "Cartridges"; + + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShell.x86_64-linux = with pkgs; + mkShell { + buildInputs = [ + just + lua-language-server + ]; + }; + + formatter.x86_64-linux = pkgs.nixfmt; + }; +}