diff options
-rw-r--r-- | overrides/buildGo/external/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/overrides/buildGo/external/default.nix b/overrides/buildGo/external/default.nix index 6e1dce11140b..48f678688eec 100644 --- a/overrides/buildGo/external/default.nix +++ b/overrides/buildGo/external/default.nix @@ -23,6 +23,7 @@ let # into a file that can be used to filter them out when processing # dependencies. stdlibPackages = runCommand "stdlib-pkgs.json" {} '' + export HOME=$PWD export GOPATH=/dev/null ${go}/bin/go list all | \ ${ripgrep}/bin/rg -v 'vendor' | \ |