gitlab-ce: remove substituteInPlace

This was removed in
23bcbf04c8
(since v11.6.0)
wip/yesman
Florian Klink 5 years ago
parent 80c35fb2a5
commit 1a205ad7fb
  1. 7
      pkgs/applications/version-management/gitlab/default.nix

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, fetchFromGitLab, bundlerEnv
, ruby, tzdata, git, procps, nettools, nixosTests
, ruby, tzdata, git, nettools, nixosTests
, gitlabEnterprise ? false
}:
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
src = sources.gitlab;
buildInputs = [
rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git procps nettools
rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools
];
patches = [ ./remove-hardcoded-locations.patch ];
@ -49,9 +49,6 @@ stdenv.mkDerivation rec {
rm config/initializers/gitlab_shell_secret_token.rb
substituteInPlace app/controllers/admin/background_jobs_controller.rb \
--replace "ps -U" "${procps}/bin/ps -U"
sed -i '/ask_to_continue/d' lib/tasks/gitlab/two_factor.rake
sed -ri -e '/log_level/a config.logger = Logger.new(STDERR)' config/environments/production.rb
'';

Loading…
Cancel
Save