nixpkgs/pkgs/applications/version-management/gitlab
Thomas Hunger 59995e168c nixos: Add gitlab and gitlab-shell
I had to make several adjustments to make it work with nixos:

* Replace relative config file lookups with ENV variable.
* Modify gitlab-shell to not clear then environment when running
  pre-receive.
* Modify gitlab-shell to write some environment variables into
  the .authorized_keys file to make sure gitlab-shell reads the
  correct config file.
* Log unicorn output to syslog.
  I tried various ways of adding a syslog package but the bundler would
  not pick them up. Please fix in a better way if possible.
* Gitlab-runner program wrapper.
  This is useful to run e.g. backups etc. with the correct
  environment set up.
2014-12-12 18:01:29 +01:00
..
bootstrap.nix nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
default.nix nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
Gemfile.lock nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
Gemfile.nix nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
generate_nix_requirements.rb nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
README nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00
remove-hardcoded-locations.patch nixos: Add gitlab and gitlab-shell 2014-12-12 18:01:29 +01:00

to regenerate Gemfile.nix and Gemfile.lock you need to

  % nix-build bootstrap.nix
  % cp result/Gemfile.nix ./
  % cp result/Gemfile.lock ./