Skip to content

Commit

Permalink
feat(nix): Add basic nix environment (#49)
Browse files Browse the repository at this point in the history
* feat(nix): Add basic nix environment

* fix(nix): Missing package group for luacheck
missing lua51Packages
  • Loading branch information
jiriks74 authored Apr 17, 2024
1 parent 28bf1ba commit 9882b34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.DS_Store

# Nix + direnv
.direnv/
11 changes: 11 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
packages = with pkgs; [
# Choose the build tools that you need
act
lua51Packages.luacheck
stylua
];
}

0 comments on commit 9882b34

Please sign in to comment.