initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Iec17afe27e51e55d53e09479fcdfd4456a6a6964
This commit is contained in:
commit
356aa999af
15 changed files with 149 additions and 0 deletions
11
nix/package.nix
Normal file
11
nix/package.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{buildGoModule}:
|
||||
buildGoModule {
|
||||
pname = "sample-go";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ../.;
|
||||
|
||||
vendorHash = "";
|
||||
|
||||
ldflags = ["-s" "-w"];
|
||||
}
|
||||
14
nix/shell.nix
Normal file
14
nix/shell.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
mkShellNoCC,
|
||||
go,
|
||||
gopls,
|
||||
delve,
|
||||
}:
|
||||
mkShellNoCC {
|
||||
name = "go";
|
||||
packages = [
|
||||
delve
|
||||
go
|
||||
gopls
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue