Skip to content

Commit cff3240

Browse files
committed
chore: update vendorHash and simplify devShell packages
Replace placeholder vendorHash with actual value and remove unnecessary `with pkgs;` syntax in devShell, keeping only go package.
1 parent fb590f0 commit cff3240

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

flake.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
inherit version;
2121
src = pkgs.lib.cleanSource ./.;
2222
subPackages = [ "cmd/sqlc-gen-queries" ];
23-
vendorHash = pkgs.lib.fakeHash; # replace with real hash after running `nix build`
23+
vendorHash = "sha256-cC+7vE2X1MM/vqFs4P7fpHN6UyLsesWpv1UwhJ4rYrE=";
2424
meta = with pkgs.lib; {
2525
description = "SQLC Queries Generator";
2626
license = licenses.mit;
@@ -30,10 +30,8 @@
3030

3131
devShells.default = pkgs.mkShell {
3232
name = "sqlc-gen-queries";
33-
packages = with pkgs; [
34-
go
35-
golangci-lint
36-
gopls
33+
packages = [
34+
pkgs.go
3735
];
3836
};
3937
}

0 commit comments

Comments
 (0)