feat: setup flake

This commit is contained in:
tux
2025-02-27 17:01:50 +05:30
parent d52159d98d
commit e64319616f
5 changed files with 85 additions and 0 deletions

13
shell.nix Normal file
View File

@ -0,0 +1,13 @@
{
callPackage,
go,
}: let
mainPkg = callPackage ./default.nix {};
in
mainPkg.overrideAttrs (oa: {
nativeBuildInputs =
[
go
]
++ (oa.nativeBuildInputs or []);
})