Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1bcd04f9ad00
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2f2cb4e276b8
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 29, 2019

  1. nixos/gitlab: Install and fixup vendorised gitlab-shell

    gitaly now ships its own vendorised version of gitlab-shell. Previously
    we failed to install this, resulting in
    https://gitlab.com/gitlab-org/gitlab-ce/issues/59403.
    
    (cherry picked from commit 50a4de7)
    bgamari authored and flokli committed Mar 29, 2019
    Copy the full SHA
    2f2cb4e View commit details
Showing with 8 additions and 1 deletion.
  1. +8 −1 pkgs/applications/version-management/gitlab/gitaly/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,14 @@ in buildGoPackage rec {

postInstall = ''
mkdir -p $ruby
cp -rv $src/ruby/{bin,lib} $ruby
cp -rv $src/ruby/{bin,lib,git-hooks,vendor} $ruby
# gitlab-shell will try to read its config relative to the source
# code by default which doesn't work in nixos because it's a
# read-only filesystem
substituteInPlace $ruby/vendor/gitlab-shell/lib/gitlab_config.rb --replace \
"File.join(ROOT_PATH, 'config.yml')" \
"'/run/gitlab/shell-config.yml'"
'';

outputs = [ "bin" "out" "ruby" ];