diff options
author | talyz <kim.lindberger@gmail.com> | 2019-10-23 22:47:24 +0200 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2019-10-28 14:56:37 +0100 |
commit | 5081a6cd56af8f560bac3fd82f6975264f3967ac (patch) | |
tree | 4cb00599e2734ed4e0bebe028b10b399801da62c /pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch | |
parent | e79bc595321057ed4169f07beacc62f58c05e14d (diff) | |
download | nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar.gz nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar.bz2 nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar.lz nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar.xz nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.tar.zst nixpkgs-5081a6cd56af8f560bac3fd82f6975264f3967ac.zip |
gitlab: 12.3.5 -> 12.4.0
- gitlab-shell no longer requires ruby for anything else than the install script, so the bundlerEnv stuff could be dropped - gitlab-shell and gitlab-workhorse now report their versions correctly
Diffstat (limited to 'pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch')
-rw-r--r-- | pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch b/pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch index 7a2bfea0c10..846bdeff48d 100644 --- a/pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch +++ b/pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch @@ -150,3 +150,14 @@ index b276a81eac..070e3ebd81 100644 end end end +--- a/lib/gitlab/authorized_keys.rb ++++ b/lib/gitlab/authorized_keys.rb +@@ -157,7 +157,7 @@ + raise KeyError, "Invalid ID: #{id.inspect}" + end + +- "#{File.join(Gitlab.config.gitlab_shell.path, 'bin', 'gitlab-shell')} #{id}" ++ "#{File.join('/run/current-system/sw/bin', 'gitlab-shell')} #{id}" + end + + def strip(key) |