TIDE/nix
Yisroel Baum 4ca6d492e6 copy laravel app root instead of symlinking
PHP's __DIR__ follows symlinks, so an artisan symlink at
/var/lib/tide/app/artisan resolved back to the read only store
path. That made every Laravel file path ultimately resolve into
the store, including storage/logs/laravel.log and bootstrap/cache,
which Laravel must be able to write. The redirected symlinks for
those two subtrees never even got consulted because resolution
happened upstream of them.

Switch tide-prepare to copy the package contents into appRoot,
then mount /var/lib/tide/state over storage/ and bootstrap/cache/
via symlinks out of a writable parent. Now __DIR__ resolves to
the writable copy and Laravel can boot.
2026-05-09 22:29:12 +03:00
..
packages add pdo_pgsql to backend php 2026-05-08 16:06:34 +03:00
module.nix copy laravel app root instead of symlinking 2026-05-09 22:29:12 +03:00