</Location>
''}
- <Directory ${if environment == "dev" then root else webRoot}>
+ <Directory ${root}>
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride All
Require all granted
ln -sf ${yarnModules}/node_modules .
yarn run --offline encore production
rm -rf var/{log,cache}
- ln -sf ../../../../../../../${varDir}/{log,cache} var/
+ ln -sf ${varDir}/{log,cache} var/
'';
buildInputs = [ yarnModules yarn2nix yarn2nix.yarn ];
});