gitlab-shell: 6.0.3 -> 7.1.2
This commit is contained in:
parent
59ad9933ff
commit
ddec4ae7a0
@ -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;
|
||||
};
|
||||
}
|
||||
|
@ -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(' ')}"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user