nix: modernize
This commit is contained in:
parent
514eb6617e
commit
0e6979f684
5 changed files with 48 additions and 39 deletions
|
@ -1,16 +1,12 @@
|
|||
{
|
||||
packagePath,
|
||||
callPackage,
|
||||
mkShellNoCC,
|
||||
gopls,
|
||||
go,
|
||||
}: let
|
||||
mainPkg = callPackage packagePath {};
|
||||
in
|
||||
mainPkg.overrideAttrs (oa: {
|
||||
nativeBuildInputs =
|
||||
(oa.nativeBuildInputs or [])
|
||||
++ [
|
||||
gopls
|
||||
go
|
||||
];
|
||||
})
|
||||
}:
|
||||
mkShellNoCC {
|
||||
name = "batmon";
|
||||
packages = [
|
||||
gopls
|
||||
go
|
||||
];
|
||||
}
|
||||
|
|
Reference in a new issue