mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
gitlab-shell: export GOCACHE in the installPhase
TMPDIR, in `GOCACHE = "$TMPDIR";`, will not be intepreted when it's set outside of a phase.
This commit is contained in:
parent
eee09b103c
commit
483d823ec4
@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ ruby bundler go ];
|
||||
|
||||
GOCACHE="$TMPDIR/go-cache";
|
||||
|
||||
patches = [ ./remove-hardcoded-locations.patch ];
|
||||
|
||||
installPhase = ''
|
||||
export GOCACHE="$TMPDIR/go-cache"
|
||||
|
||||
ruby bin/compile
|
||||
mkdir -p $out/
|
||||
cp -R . $out/
|
||||
|
Loading…
Reference in New Issue
Block a user