fix(nix): set gopath for usage by IDEs

This commit is contained in:
Mahyar Mirrashed
2025-03-13 11:09:57 -07:00
parent 8924eaf251
commit 7600a86dfc

View File

@@ -23,8 +23,12 @@
env = { env = {
GOROOT = "${pkgs.go}/share/go"; GOROOT = "${pkgs.go}/share/go";
GOPATH = "$(pwd)/.go";
}; };
shellHook = ''
export GOPATH="$(pwd)/.go"
mkdir -p "$GOPATH"
'';
}; };
}; };
} }