4 ms·
What happens when packages need to store data? For example, installing Datomic via Brew will result in databases being stored in: /usr/local/Cellar/datomic/0.
by sdegutis 10y ago
What happens when packages need to store data?
For example, installing Datomic via Brew will result in databases being stored in:
/usr/local/Cellar/datomic/0.9.5206/libexec/data
How would that work with Nix? Would the data live under /nix?
And most importantly, would that data get squashed because of some kind of idempotency assumptions that Nix might make?
- JonnieCache 10y ago/nix is mounted readonly, only the special nix user can write to it. Data goes in /var or similar.
- mapcars 10y ago>would that work with Nix? Yes. >Would the data live under /nix? No, Datomic will be built with another default data directory. >would that data get squashed because of some kind of idempotency assumptions that Nix might make? No, since data is stored separately.