Nix Installation Guide: Difference between revisions
imported>Symphorien →Single-user install: explain what to do if the installtion fails because of user namespaces. |
imported>Symphorien →Nix store on an unusual filesystem: disable sqlite wal on WSL |
||
Line 26: | Line 26: | ||
=== Case insensitive filesystem on Linux === | === Case insensitive filesystem on Linux === | ||
Most Linux filesystems are case sensitive. If your nix store is on a case insensitive filesystem like CIFS on Linux, derivation outputs cannot contain two files differing only in case in the same directory. Nix can work around this by adding <code>use-case-hack = true</code> to your nix configuration (<code>/etc/nix/nix.conf</code> for a multi-user-install or <code>~/.config/nix/nix.conf</code> otherwise). Unfortunately, this will change the hash of some derivations and thus make the binary cache useless. | Most Linux filesystems are case sensitive. If your nix store is on a case insensitive filesystem like CIFS on Linux, derivation outputs cannot contain two files differing only in case in the same directory. Nix can work around this by adding <code>use-case-hack = true</code> to your nix configuration (<code>/etc/nix/nix.conf</code> for a multi-user-install or <code>~/.config/nix/nix.conf</code> otherwise). Unfortunately, this will change the hash of some derivations and thus make the binary cache useless. | ||
=== WSL === | |||
In addition to not supporting the sandbox, the WIndows Subsystem for Linux (WSL) features a filesystem which is incompatible with some functionalities of sqlite. To work around this, before installing, create a file <code>/etc/nix/nix.conf</code> or <code>~/.config/nix/nix.conf</code> with the following line: <code>use-sqlite-wal = false</code>. | |||
=== NFS === | === NFS === |