fix(nix): set the goroot for tools like jetbrains

JetBrains needs to know the GOROOT environment variables. For the sake
of other tooling, we will just set these in the flake rather than only
in the `.envrc` file. It also keeps all environment configuration
localized to our project flake.
This commit is contained in:
Mahyar Mirrashed
2025-03-12 12:48:50 -07:00
parent ce60e96008
commit c4e10df754

View File

@@ -20,6 +20,11 @@
nodePackages.prettier
infisical
];
env = {
GOROOT = "${pkgs.go}/share/go";
GOPATH = "$(pwd)/.go";
};
};
};
}