Merge pull request #56902 from kalbasit/nixpkgs_fix-build-support-docker-go-1-12

build-support/docker: fix the build of tarsum with Go 1.12
This commit is contained in:
Jörg Thalheim 2019-03-05 20:41:22 +00:00 committed by GitHub
commit ced8811749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ rec {
cp ${./tarsum.go} tarsum.go
export GOPATH=$(pwd)
export GOCACHE="$TMPDIR/go-cache"
mkdir -p src/github.com/docker/docker/pkg
ln -sT ${docker.src}/components/engine/pkg/tarsum src/github.com/docker/docker/pkg/tarsum
go build