feat: add flake.nix
This commit is contained in:
parent
41a02bf5e8
commit
534fc26eac
6 changed files with 167 additions and 3 deletions
|
|
@ -1,9 +1,12 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
{ pkgs ? import <nixpkgs> { }
|
||||
, shellHook ? ""
|
||||
}:
|
||||
|
||||
let
|
||||
default = pkgs.callPackage ./default.nix { };
|
||||
in
|
||||
pkgs.mkShell {
|
||||
inherit shellHook;
|
||||
inputsFrom = [ default ];
|
||||
buildInputs = [ default pkgs.shellcheck ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue