nixpkgs/nixos/modules/services
talyz ed4a09c6f3 gitlab: Get rid of most 'already initialized constant'-warnings
On start, unicorn, sidekiq and other parts running ruby code emits
quite a few warnings similar to

/var/gitlab/state/config/application.rb:202: warning: already initialized constant Gitlab::Application::LOOSE_EE_APP_ASSETS
/nix/store/ysb0lgbzxp7a9y4yl8d4f9wrrzy9kafc-gitlab-ee-12.3.5/share/gitlab/config/application.rb:202: warning: previous definition of LOOSE_EE_APP_ASSETS was here
/var/gitlab/state/lib/gitlab.rb:38: warning: already initialized constant Gitlab::COM_URL
/nix/store/ysb0lgbzxp7a9y4yl8d4f9wrrzy9kafc-gitlab-ee-12.3.5/share/gitlab/lib/gitlab.rb:38: warning: previous definition of COM_URL was here

This seems to be caused by the same ruby files being evaluated
multiple times due to the paths being different - sometimes they're
loaded using the direct path and sometimes through a symlink, due to
our split between config and package data. To fix this, we make sure
that the offending files in the state directory always reference the
store path, regardless of that being the real file or a symlink.
2019-10-19 19:30:28 +02:00
..
admin nixos/oxidized: Use symlinks for config files 2019-08-14 09:30:51 +00:00
amqp nixos/rabbitmq: use an attrset for example configItems 2019-09-25 17:38:00 +00:00
audio nixos/spotifyd: update spotifyd flags 2019-09-21 17:10:00 -05:00
backup nixos/borgbackup: add option to allow removable devices 2019-10-14 17:28:44 +02:00
cluster treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
computing nixos: remove dependencies on local-fs.target 2019-09-01 19:06:38 +02:00
continuous-integration nixos/jenkins: Copy plugins as .jpi to fix initialization errors 2019-09-17 19:54:57 +02:00
databases nixos/mysql: fix mysqlReplication test 2019-10-13 19:18:51 +03:00
desktops nixos/gnome-settings-daemon: move systemd config here 2019-10-02 22:51:11 -04:00
development bloop: allow specifying extra cli options 2019-07-25 09:28:13 +02:00
editors Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
games Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
hardware Revert "Merge pull request #71095 from flokli/pinentry-cleanup" 2019-10-16 20:28:21 -04:00
logging Merge branch 'master' into staging-next 2019-09-06 16:55:11 +02:00
mail Specify correct option type 2019-10-04 09:57:06 +02:00
misc gitlab: Get rid of most 'already initialized constant'-warnings 2019-10-19 19:30:28 +02:00
monitoring Merge pull request #71058 from WilliButz/add-nextcloud-exporter 2019-10-13 13:47:41 +02:00
network-filesystems Merge pull request #41841 from Izorkin/samba 2019-10-12 14:31:39 +00:00
networking nixos/pppd: add description for peers, unbreaks metrics job and channel 2019-10-17 13:59:52 +02:00
printing Merge pull request #68218 from worldofpeace/cups-pk/no-auth-wheel 2019-09-09 04:42:19 -04:00
scheduling nixos: remove dependencies on local-fs.target 2019-09-01 19:06:38 +02:00
search nixos/kibana: Filter empty lists 2019-09-07 13:24:24 +01:00
security fprintd: 0.8.1 -> 0.9.0 2019-09-17 20:15:57 -04:00
system Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
torrent deluge service: fix my bad conflict resolution from f21211ebf 2019-09-08 08:42:53 +02:00
ttys treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
web-apps Merge pull request #69255 from minijackson/init-shiori 2019-10-12 09:01:58 -05:00
web-servers Merge pull request #70858 from manveru/nginx-map-hash-sizes 2019-10-09 17:32:40 +02:00
x11 Merge pull request #71065 from worldofpeace/gdm-no-plymouth-conflict 2019-10-13 17:34:00 +00:00