-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
Would be nice to:
|
Tried on my mac now and get the following:
|
Looks like yarn2nix doesn't support cross-compilation at the moment. Looking into what would be required for it to function. |
Another (although quite ugly) alternative would be to run the |
It seems to work fine(-ish) on Windows, building using WSL and running the containers in Docker for Windows. Steps:
(SQLite's WAL needs to be disabled due to microsoft/WSL#2395.) Notes:
|
After some testing with @indrif we got it to work on Mac by following https://github.com/LnL7/nix-docker#running-as-a-remote-builder. |
This is thanks to the new `mkYarnWorkspace` (nix-community/yarn2nix#59)
docker-build.sh as usual
This lets us do things like automatically mounting a project and its dependencies, opening the way for live reloading
This finally enables us to volume-mount packages, and edit them without rebuilding the whole image. This is the final piece of the puzzle before live-reloading can be implemented.
…t-from-derivation
All services have been nixified. To build and load the docker images, install Nix, run
./nix-build.sh
, and then rundocker-compose up
as usual.TODO
web-frontend
fails to build ATM