Skip to content

Commit

Permalink
build: update flake.nix
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Aug 15, 2024
1 parent 776623c commit 33a5094
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@
src = ./.;
ldflags = [ "-s" "-w" "-X main.version=dev" "-X main.builtBy=flake" ];
doCheck = false;
vendorHash = "sha256-g57tLk2+WWcdG0COqkQD7eLYG0TdC0RnlhLF6Qt4woY=";
vendorHash = "";
};

devShells.default = pkgs.mkShell {
shellHook = "go mod tidy";
};

# nix develop .#dev
devShells.dev = pkgs.mkShell {
packages = with pkgs; [
go
go-task
gofumpt
nix-prefetch
];
shellHook = "go mod tidy";
};

# nix develop .#packagers
Expand Down

0 comments on commit 33a5094

Please sign in to comment.