diff options
author | roblabla <robinlambertz+dev@gmail.com> | 2017-08-25 16:13:18 +0200 |
---|---|---|
committer | roblabla <robinlambertz+dev@gmail.com> | 2017-08-25 16:14:05 +0200 |
commit | 259970d26e14e81a571823215fe2822bc56ff3b5 (patch) | |
tree | 15abef49ad921f91a4a87f2f1b8918cf4560d2fb /pkgs/applications/version-management/gitlab/default.nix | |
parent | 05b88794640acfaad132cdca767152155e725a99 (diff) | |
download | nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar.gz nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar.bz2 nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar.lz nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar.xz nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.tar.zst nixlib-259970d26e14e81a571823215fe2822bc56ff3b5.zip |
gitlab: Fix packaging, compile gettext files before assets
Diffstat (limited to 'pkgs/applications/version-management/gitlab/default.nix')
-rw-r--r-- | pkgs/applications/version-management/gitlab/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix index 26017297e078..e41f542ad106 100644 --- a/pkgs/applications/version-management/gitlab/default.nix +++ b/pkgs/applications/version-management/gitlab/default.nix @@ -138,10 +138,10 @@ stdenv.mkDerivation rec { # Compile assets. We skip the yarn check because it fails export GITLAB_DATABASE_ADAPTER=nulldb export SKIP_STORAGE_VALIDATION=true + rake gettext:compile RAILS_ENV=production rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production rake webpack:compile RAILS_ENV=production NODE_ENV=production rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production - rake gettext:compile RAILS_ENV=production mv config/gitlab.yml config/gitlab.yml.example rm config/secrets.yml |