FAQ/Pinning Nixpkgs: Difference between revisions

imported>Lheckemann
No edit summary
imported>Hyperfekt
→‎Nix 2.0 onwards: hide outdated info about fetchGit being faster
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


Or, to use git for fetching (this has the advantage of being somewhat faster for updates, but is slower for the initial fetch):
Or, to use git for fetching<!-- (this has the advantage of being somewhat faster for updates, but is slower for the initial fetch) [not true anymore, the repository sharing mechanism has been disabled (https://github.com/NixOS/nix/pull/2358)]-->:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">