Unverified Commit f9978726 authored by Leona Maroni's avatar Leona Maroni
Browse files

gitlab-runner: apply patch for file variable handling

Upstream introduced this regression in the 18.6.0 release, there's
currently no fix release, so introduce the patch.
parent fbfeab40
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  bash,
  buildGoModule,
  fetchFromGitLab,
  fetchpatch,
  nix-update-script,
  versionCheckHook,
}:
@@ -27,6 +28,12 @@ buildGoModule (finalAttrs: {
  patches = [
    ./fix-shell-path.patch
    ./remove-bash-test.patch
    # fix regression. remove with next release.
    (fetchpatch {
      name = "fix-shell-executor-not-working-with-variables-that-use-file-variables.patch";
      url = "https://gitlab.com/gitlab-org/gitlab-runner/-/commit/6318fe8e38ca9774eb0f52fa2c68555cdad3ab44.patch";
      hash = "sha256-GTdBo+7kHHpNs6JywjOII4NBcHjFYEZ3xhdGTcGKov4=";
    })
  ];

  prePatch = ''