diff options
author | Robin Gloster <mail@glob.in> | 2018-11-02 21:22:51 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-11-02 22:40:21 +0100 |
commit | ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e (patch) | |
tree | 2b3856ec165b2b951798202d06ea6bb51c1f55a9 /pkgs/applications/version-management/gitlab/default.nix | |
parent | a4234645fe2445fe503413b159a842dbb280a777 (diff) | |
download | nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar.gz nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar.bz2 nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar.lz nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar.xz nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.tar.zst nixlib-ec7cb84bf07ef1064a28b0b4dbb370efacd9e56e.zip |
gitlab: refactor and fix test
Diffstat (limited to 'pkgs/applications/version-management/gitlab/default.nix')
-rw-r--r-- | pkgs/applications/version-management/gitlab/default.nix | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index ace0df5efdfd..933db40cfc0e 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -63,17 +63,7 @@ stdenv.mkDerivation rec { --replace "ps -U" "${procps}/bin/ps -U" sed -i '/ask_to_continue/d' lib/tasks/gitlab/two_factor.rake - - # required for some gems: - cat > config/database.yml <<EOF - production: - adapter: <%= ENV["GITLAB_DATABASE_ADAPTER"] || sqlite %> - database: gitlab - host: <%= ENV["GITLAB_DATABASE_HOST"] || "127.0.0.1" %> - password: <%= ENV["GITLAB_DATABASE_PASSWORD"] || "blerg" %> - username: gitlab - encoding: utf8 - EOF + sed -ri -e '/log_level/a config.logger = Logger.new(STDERR)' config/environments/production.rb ''; buildPhase = '' |