···1diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
2-index c1d175a..7f7fd2f 100644
3--- a/lib/gitlab_projects.rb
4+++ b/lib/gitlab_projects.rb
5-@@ -5,7 +5,7 @@ require_relative 'gitlab_config'
6- require_relative 'gitlab_logger'
78 class GitlabProjects
9- GLOBAL_HOOKS_DIRECTORY = File.join(ROOT_PATH, 'hooks')
···1112 # Project name is a directory name for repository with .git at the end
13 # It may be namespaced or not. Like repo.git or gitlab/repo.git
00000000000000
···1diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb
2+index 0b11ce3..ffc3faf 100644
3--- a/lib/gitlab_projects.rb
4+++ b/lib/gitlab_projects.rb
5+@@ -8,7 +8,7 @@ require_relative 'gitlab_metrics'
6+ require_relative 'gitlab_reference_counter'
78 class GitlabProjects
9- GLOBAL_HOOKS_DIRECTORY = File.join(ROOT_PATH, 'hooks')
···1112 # Project name is a directory name for repository with .git at the end
13 # It may be namespaced or not. Like repo.git or gitlab/repo.git
14+diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
15+index e7d0254..181ec8a 100644
16+--- a/lib/gitlab_shell.rb
17++++ b/lib/gitlab_shell.rb
18+@@ -163,7 +163,8 @@ class GitlabShell
19+ end
20+21+ # We use 'chdir: ROOT_PATH' to let the next executable know where config.yml is.
22+- Kernel::exec(env, *args, unsetenv_others: true, chdir: ROOT_PATH)
23++ # Except we don't, because we're already in the right directory on nixos !
24++ Kernel::exec(env, *args, unsetenv_others: true)
25+ end
26+27+ def api