feat: add flake.nix

This commit is contained in:
Moritz Böhme 2025-02-13 13:11:50 +01:00
parent 41a02bf5e8
commit 534fc26eac
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
6 changed files with 167 additions and 3 deletions

View file

@ -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 ];
}