From 9882b348449f494e7e725a4d0ebd41097b46f172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Wed, 17 Apr 2024 19:05:07 +0200 Subject: [PATCH] feat(nix): Add basic nix environment (#49) * feat(nix): Add basic nix environment * fix(nix): Missing package group for luacheck missing lua51Packages --- .envrc | 1 + .gitignore | 3 +++ default.nix | 11 +++++++++++ 3 files changed, 15 insertions(+) create mode 100644 .envrc create mode 100644 default.nix diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/.gitignore b/.gitignore index e43b0f9..b7c9000 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ .DS_Store + +# Nix + direnv +.direnv/ diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..7fbfa09 --- /dev/null +++ b/default.nix @@ -0,0 +1,11 @@ +let + pkgs = import {}; +in +pkgs.mkShell { + packages = with pkgs; [ + # Choose the build tools that you need + act + lua51Packages.luacheck + stylua + ]; +}