Nix (command): Difference between revisions
imported>Nix m add categories: Nix and Software |
imported>Fendor m Make it a bit more clearer the man page is located at `man 5 nix.conf` and not at `man nix.conf5`. (At least I was confused by this notation) |
||
Line 114: | Line 114: | ||
Add a path to the Nix expression search path. This option may be given multiple times. See the <code>NIX_PATH</code> environment variable for information on the semantics of the Nix search path. Paths added through <code>-I</code> take precedence over <code>NIX_PATH</code>.</p></li> | Add a path to the Nix expression search path. This option may be given multiple times. See the <code>NIX_PATH</code> environment variable for information on the semantics of the Nix search path. Paths added through <code>-I</code> take precedence over <code>NIX_PATH</code>.</p></li> | ||
<li><p><code>--option</code> ''name'' ''value''<br /> | <li><p><code>--option</code> ''name'' ''value''<br /> | ||
Set the Nix configuration option ''name'' to ''value''. This overrides settings in the Nix configuration file (see nix. | Set the Nix configuration option ''name'' to ''value''. This overrides settings in the Nix configuration file (see nix.conf(5)).</p></li> | ||
<li><p><code>--repair</code><br /> | <li><p><code>--repair</code><br /> | ||
Fix corrupted or missing store paths by redownloading or rebuilding them. Note that this is slow because it requires computing a cryptographic hash of the contents of every path in the closure of the build. Also note the warning under <code>nix-store --repair-path</code>.</p></li></ul> | Fix corrupted or missing store paths by redownloading or rebuilding them. Note that this is slow because it requires computing a cryptographic hash of the contents of every path in the closure of the build. Also note the warning under <code>nix-store --repair-path</code>.</p></li></ul> |