about summary refs log tree commit diff
path: root/pkgs/applications/version-management/gitlab/default.nix
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2019-12-23 00:39:33 +0100
committertalyz <kim.lindberger@gmail.com>2019-12-23 00:39:33 +0100
commitff28cfa6d327d7b1dca4f330b068fa036836a73d (patch)
tree39f510469064f66d0587d35993c932bae7a8df2b /pkgs/applications/version-management/gitlab/default.nix
parenta3c72e66a674b74e3ac0294f294d4ca1579f27fa (diff)
downloadnixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar.gz
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar.bz2
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar.lz
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar.xz
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.tar.zst
nixlib-ff28cfa6d327d7b1dca4f330b068fa036836a73d.zip
gitlab: 12.5.5 -> 12.6.0
Diffstat (limited to 'pkgs/applications/version-management/gitlab/default.nix')
-rw-r--r--pkgs/applications/version-management/gitlab/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index 60035990ed02..fa2154c4472f 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -43,7 +43,14 @@ let
     pname = "gitlab-assets";
     inherit version src;
 
-    nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn ];
+    nativeBuildInputs = [ rubyEnv.wrappedRuby rubyEnv.bundler nodejs yarn git ];
+
+    # Since version 12.6.0, the rake tasks need the location of git,
+    # so we have to apply the location patches here too.
+    patches = [ ./remove-hardcoded-locations.patch ];
+    # One of the patches uses this variable - if it's unset, execution
+    # of rake tasks fails.
+    GITLAB_LOG_PATH = "log";
 
     configurePhase = ''
       runHook preConfigure