mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
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.
(cherry picked from commit f99787269a)
This commit is contained in:
committed by
github-actions[bot]
parent
c8d6732283
commit
402f15094d
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user