File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
# From https://nixos.wiki/wiki/Google_Cloud_SDK
22
22
gdk = pkgs . google-cloud-sdk . withExtraComponents ( [ pkgs . google-cloud-sdk . components . gke-gcloud-auth-plugin ] ) ;
23
+ # Locked to 1.25.0 instead of updating! See the derivation in nixpkgs:
24
+ # https://github.com/NixOS/nixpkgs/blob/4f3886e6c789e9f563195a9c407be2c8e16e4010/pkgs/development/tools/database/sqlc/default.nix
25
+ sqlc = pkgs . buildGoModule {
26
+ pname = "sqlc" ;
27
+ version = "1.25.0" ;
28
+
29
+ src = pkgs . fetchFromGitHub {
30
+ owner = "sqlc-dev" ;
31
+ repo = "sqlc" ;
32
+ rev = "v${ version } " ;
33
+ hash = "sha256-VrR/oSGyKtbKHfQaiLQ9oKyWC1Y7lTZO1aUSS5bCkKY=" ;
34
+ } ;
35
+
36
+ proxyVendor = true ;
37
+ vendorHash = "sha256-C5OOTAYoSt4anz1B/NGDHY5NhxfyTZ6EHis04LFnMPM=" ;
38
+
39
+ subPackages = [ "cmd/sqlc" ] ;
40
+ } ;
23
41
24
42
# The minimal set of packages to build Coder.
25
43
devShellPackages = with pkgs ; [
You can’t perform that action at this time.
0 commit comments