feat: add shell.nix
This commit is contained in:
parent
0d69a0616f
commit
a31ac1ee90
3 changed files with 12 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
use nix
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
### direnv ###
|
||||||
|
.direnv
|
9
shell.nix
Normal file
9
shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
|
let
|
||||||
|
default = pkgs.callPackage ./default.nix { };
|
||||||
|
in
|
||||||
|
pkgs.mkShell {
|
||||||
|
inputsFrom = [ default ];
|
||||||
|
buildInputs = [ default pkgs.shellcheck ];
|
||||||
|
}
|
Loading…
Reference in a new issue