3p/tvl: fix buildGo

This commit is contained in:
Luke Granger-Brown 2021-02-24 20:02:35 +00:00
parent a7094217ba
commit f1905cb450

View file

@ -25,7 +25,7 @@ let
stdlibPackages = runCommand "stdlib-pkgs.json" {} '' stdlibPackages = runCommand "stdlib-pkgs.json" {} ''
export HOME=$PWD export HOME=$PWD
export GOPATH=/dev/null export GOPATH=/dev/null
${go}/bin/go list all | \ ${go}/bin/go list std | \
${ripgrep}/bin/rg -v 'vendor' | \ ${ripgrep}/bin/rg -v 'vendor' | \
${jq}/bin/jq -R '.' | \ ${jq}/bin/jq -R '.' | \
${jq}/bin/jq -c -s 'map({key: ., value: true}) | from_entries' \ ${jq}/bin/jq -c -s 'map({key: ., value: true}) | from_entries' \