Skip to content

Commit ea57ec1

Browse files
use nix goroot
1 parent c21702f commit ea57ec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
gofumpt
3434
sqlite
3535
];
36+
shellHook = ''
37+
export GO="${pkgs.go_1_23}/bin/go"
38+
export GOROOT="${pkgs.go_1_23}/share/go"
39+
'';
3640
};
3741
}
3842
);

0 commit comments

Comments
 (0)