add flake

This commit is contained in:
Fabien Freling 2024-10-08 13:25:52 +02:00
parent 0ba85c04db
commit d509a2cc2f
2 changed files with 42 additions and 0 deletions

17
flake.nix Normal file
View file

@ -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;
};
}