From a67e789fe29b9c5de5c8c96c3d1b4ea71efd4472 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 (cherry picked from commit 259970d26e14e81a571823215fe2822bc56ff3b5) --- 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 8496241253a2..df2087734ab0 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