gitlab-shell: 6.0.3 -> 7.1.2

This commit is contained in:
Robin Gloster 2018-04-25 19:55:58 +02:00
parent 59ad9933ff
commit ddec4ae7a0
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
3 changed files with 7 additions and 7 deletions

View File

@ -1,14 +1,14 @@
{ stdenv, ruby, bundler, fetchFromGitLab, go }:
stdenv.mkDerivation rec {
version = "6.0.3";
version = "7.1.2";
name = "gitlab-shell-${version}";
srcs = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${version}";
sha256 = "073y41d9sqy6l6dxbiml6c13fq98qcb0jf86w9slld1mcw19cmrk";
sha256 = "1mkr2k2ldn5hl84acajvfify97qy80lmicxx49jbpln22vh9rcni";
};
buildInputs = [ ruby bundler go ];
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = http://www.gitlab.com/;
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
maintainers = with maintainers; [ fpletz globin ];
license = licenses.mit;
};
}

View File

@ -5,8 +5,8 @@ index 30a6b71..46b4dfa 100644
@@ -26,8 +26,8 @@ module GoBuild
raise "env must be a hash" unless env.is_a?(Hash)
raise "cmd must be an array" unless cmd.is_a?(Array)
- if !system(env, *cmd)
- unless system(env, *cmd)
- abort "command failed: #{env.inspect} #{cmd.join(' ')}"
- end
+ puts "Starting #{env.inspect} #{cmd.join(' ')}"

View File

@ -19,9 +19,9 @@ index 1452f95..2b40327 100644
end
# We use 'chdir: ROOT_PATH' to let the next executable know where config.yml is.
- Kernel::exec(env, *args, unsetenv_others: true, chdir: ROOT_PATH)
- Kernel.exec(env, *args, unsetenv_others: true, chdir: ROOT_PATH)
+ # Except we don't, because we're already in the right directory on nixos!
+ Kernel::exec(env, *args, unsetenv_others: true)
+ Kernel.exec(env, *args, unsetenv_others: true)
end
def api