batmon/nix/shell.nix

17 lines
237 B
Nix
Raw Normal View History

2024-01-11 19:51:07 +00:00
{
2024-01-11 20:43:27 +00:00
packagePath,
2024-01-11 19:51:07 +00:00
callPackage,
gopls,
go,
}: let
2024-01-11 20:43:27 +00:00
mainPkg = callPackage packagePath {};
2024-01-11 19:51:07 +00:00
in
mainPkg.overrideAttrs (oa: {
nativeBuildInputs =
(oa.nativeBuildInputs or [])
++ [
gopls
go
];
})