From 259970d26e14e81a571823215fe2822bc56ff3b5 Mon Sep 17 00:00:00 2001 From: roblabla Date: Fri, 25 Aug 2017 16:13:18 +0200 Subject: [PATCH] gitlab: Fix packaging, compile gettext files before assets --- pkgs/applications/version-management/gitlab/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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