Skip to content

Commit

Permalink
chore(gitignore): ignore .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
chore(gitignore): ignore .pre-commit-config.yaml
fixing LUA_PATH such that tools can work withing the nix shell
  • Loading branch information
teto authored Jul 14, 2024
1 parent 9374b12 commit 2823f97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@
(with pkgs; [
lua-language-server
luarocks
luaPackages.dkjson
lua
])
++ self.checks.${system}.formatting.enabledPackages;
shellHook = ''
${self.checks.${system}.formatting.shellHook}
export LUA_PATH="lua/?.lua;$LUA_PATH"
'';
};
in {
Expand Down

0 comments on commit 2823f97

Please sign in to comment.