mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
docker: export GOCACHE for all platforms
This commit is contained in:
parent
9b3da9ef64
commit
eee09b103c
@ -94,13 +94,14 @@ rec {
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
buildPhase = (optionalString (stdenv.isLinux) ''
|
||||
buildPhase = ''
|
||||
export GOCACHE="$TMPDIR/go-cache"
|
||||
'' + (optionalString (stdenv.isLinux) ''
|
||||
# build engine
|
||||
cd ./components/engine
|
||||
export AUTO_GOPATH=1
|
||||
export DOCKER_GITCOMMIT="${rev}"
|
||||
export VERSION="${version}"
|
||||
export GOCACHE="$TMPDIR/go-cache"
|
||||
./hack/make.sh dynbinary
|
||||
cd -
|
||||
'') + ''
|
||||
|
Loading…
Reference in New Issue
Block a user