-
-
Notifications
You must be signed in to change notification settings - Fork 151
Open
Description
The hosts /nix/store is mounted inside the microvm. However nix inside the VM does not use objects from /nix/store. It does not know these objects since they are not in the Nix database (/nix/var/nix/db).
Probably the best solution is currently worked on as [RFC 0152] local-overlay store.
A workaround is to use nix-store --dump-db on the host and nix-store --load-db in the guest VM.
Of course this is a hack. But for my use case of local project development VMs it should work fine.
I've not yet figured out a nice automation for this. Ideally, a db-dump would be made on microvm boot, copied in the VM and loaded inside the VM.
Metadata
Metadata
Assignees
Labels
No labels