diff --git a/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-9999.ebuild index e7e39b992e..40fb3e5a39 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-admin/systemd-rest/systemd-rest-9999.ebuild @@ -24,7 +24,9 @@ GOROOT="${ED}usr/$(get_libdir)/go" GOPKG="${PN}" src_compile() { - GOPATH="${S}" go build -o ${PN} || die + export GOPATH="${S}" + go get + go build -o ${PN} || die } src_install() {