batmon/nix/shell.nix
2024-01-11 23:43:27 +03:00

17 lines
237 B
Nix

{
packagePath,
callPackage,
gopls,
go,
}: let
mainPkg = callPackage packagePath {};
in
mainPkg.overrideAttrs (oa: {
nativeBuildInputs =
(oa.nativeBuildInputs or [])
++ [
gopls
go
];
})