feat: add shell.nix

This commit is contained in:
Moritz Böhme 2025-02-13 12:11:41 +01:00
parent 0d69a0616f
commit a31ac1ee90
Signed by: moritz
GPG key ID: 970C6E89EB0547A9
3 changed files with 12 additions and 0 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use nix

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
### direnv ###
.direnv

9
shell.nix Normal file
View file

@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> { } }:
let
default = pkgs.callPackage ./default.nix { };
in
pkgs.mkShell {
inputsFrom = [ default ];
buildInputs = [ default pkgs.shellcheck ];
}