From 46d31aeda7047d2f565a8cbdb3b02a10eff70418 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Tue, 30 Oct 2018 00:38:40 +0100 Subject: [PATCH] build: let CE expose static/source in the same way as EE for consistent etc/ directory structure --- default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/default.nix b/default.nix index 12805521..b5ecac7a 100644 --- a/default.nix +++ b/default.nix @@ -246,6 +246,13 @@ let # rhodecode-tools don't need wrapping ln -s ${self.rhodecode-tools}/bin/rhodecode-* $out/bin/ + # expose sources of CE + ln -s $out $out/etc/rhodecode_enterprise_ce_source + + # expose static files folder + cp -Rf $out/lib/${self.python.libPrefix}/site-packages/rhodecode/public/ $out/etc/static + chmod 755 -R $out/etc/static + ''; });