[Nix-dev] Multiple stores

Vladimír Čunát vcunat at gmail.com
Sat Aug 27 22:18:04 CEST 2016


On 08/26/2016 02:51 PM, Freddy Rietdijk wrote:
> Would it be possible to install a second store elsewhere, in this case
> on a slower HDD? 

It should be possible just by setting some environment variables. I've
never done it, but there are $NIX_STORE_DIR, $NIX_STATE_DIR, etc. See
the end of "man nix-store".

Of course, note that installing stuff to somewhere else than /nix/store
makes you build everything from scratch by yourself. Therefore, using
proot or chroot or something similar might be preferable for you...

--Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160827/7f5e0d44/attachment.p7s>


More information about the nix-dev mailing list