diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 63efeb5e..e047585d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -48,8 +48,8 @@ builds: - with_clash_api env: - CGO_ENABLED=0 - - GOROOT=/nix/store/cpfvjwc7d5hai3iar78h86iwnvgppjrg-go-1.20.14/share/go - gobinary: /nix/store/cpfvjwc7d5hai3iar78h86iwnvgppjrg-go-1.20.14/bin/go + - GOROOT={{ .Env.GOPATH }}/go1.20.14 + gobinary: "{{ .Env.GOPATH }}/go1.20.14/bin/go" targets: - windows_amd64_v1 - windows_386