From 483d823ec4dace48815fa00596b9589142ae2350 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Sun, 10 Mar 2019 13:56:12 -0700 Subject: [PATCH] gitlab-shell: export GOCACHE in the installPhase TMPDIR, in `GOCACHE = "$TMPDIR";`, will not be intepreted when it's set outside of a phase. --- .../version-management/gitlab/gitlab-shell/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix index b9423ccb328a..bb48a441253f 100644 --- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix +++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix @@ -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/