forked from mirrors/nixpkgs
gitlab-shell: fix evaluation
This commit is contained in:
parent
6eaa419920
commit
cb395eaadb
|
@ -1,9 +1,9 @@
|
|||
{ stdenv, ruby, rubyLibs, fetchgit }:
|
||||
{ stdenv, ruby, bundler, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.1.0";
|
||||
name = "gitlab-shell-${version}";
|
||||
|
||||
|
||||
srcs = fetchgit {
|
||||
url = "https://gitlab.com/gitlab-org/gitlab-shell.git";
|
||||
rev = "823aba63e444afa2f45477819770fec3cb5f0159";
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [
|
||||
ruby rubyLibs.bundler
|
||||
ruby bundler
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
export HOME=$(pwd)
|
||||
bundle install -j4 --verbose --local --deployment --without development test
|
||||
'';
|
||||
|
||||
|
||||
# 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
|
||||
|
|
|
@ -1315,14 +1315,14 @@ let
|
|||
|
||||
gifsicle = callPackage ../tools/graphics/gifsicle { };
|
||||
|
||||
# Evaluation broken by recent ruby changes.
|
||||
gitlab = callPackage ../applications/version-management/gitlab {
|
||||
libiconv = libiconvOrLibc;
|
||||
ruby = ruby_2_1_3;
|
||||
};
|
||||
|
||||
# Evaluation broken by recent ruby changes.
|
||||
# gitlab-shell = callPackage ../applications/version-management/gitlab-shell { };
|
||||
gitlab-shell = callPackage ../applications/version-management/gitlab-shell {
|
||||
ruby = ruby_2_1_3;
|
||||
};
|
||||
|
||||
glusterfs = callPackage ../tools/filesystems/glusterfs { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue