FAQ: Difference between revisions
imported>Dezgeg →How do I enable chrooted builds on non-NixOS?: Fix plainly incorrect information |
imported>Dezgeg Comment out dangerous suggestions of mounting /nix/store rw |
||
| Line 227: | Line 227: | ||
<syntaxhighlight lang="bash">nix-instantiate --find-file nixpkgs</syntaxhighlight> | <syntaxhighlight lang="bash">nix-instantiate --find-file nixpkgs</syntaxhighlight> | ||
To know the commit, open the .version-suffix file in the nixpkgs location. The hash after the dot is the git commit. | To know the commit, open the .version-suffix file in the nixpkgs location. The hash after the dot is the git commit. | ||
<!-- FIXME: Needs a rewrite. This sort of dangerous crap of mounting /nix/store rw and modifying files there must NOT be suggested. | |||
== An error occurs while fetching sources from an url, how do I fix it? == | == An error occurs while fetching sources from an url, how do I fix it? == | ||
| Line 250: | Line 252: | ||
Be sure to [https://github.com/NixOS/nixpkgs/issues report the incorrect url] or [https://github.com/NixOS/nixpkgs/pulls fix it yourself]. | Be sure to [https://github.com/NixOS/nixpkgs/issues report the incorrect url] or [https://github.com/NixOS/nixpkgs/pulls fix it yourself]. | ||
--> | |||
== How do I know the sha256 to use with fetchgit/fetchsvn/fetchbzr/fetchcvs? == | == How do I know the sha256 to use with fetchgit/fetchsvn/fetchbzr/fetchcvs? == | ||