cachix / devenv-nixpkgs

Tested nixpkgs pins that work with devenv
8 stars 2 forks source link

go and delve version mismatch #10

Open tristanbeedell opened 1 month ago

tristanbeedell commented 1 month ago

with

inputs:
  nixpkgs:
    url: github:cachix/devenv-nixpkgs/rolling

trying to use the go debugger in vscode:

image

swap nixpkgs out for github:nixos/nixpkgs/nixos-unstable and it works as expected.

sandydoo commented 1 month ago

Do you have another version of go installed? I imagine you might have one version in GOROOT and another in the PATH.

If that's the underlying issue, then you'll eventually run into this again.

tristanbeedell commented 1 month ago

Thanks for the rapid response!

I do not have go installed on the host system. If I unload the devenv then go is not on the PATH, and GOROOT is not set.