Bisecting: Difference between revisions

Kiara (talk | contribs)
add stub for article on using bisect in the nix context
 
Kiara (talk | contribs)
→‎Flakes: - nix-prefetch-url + nix-hash -> nix flake prefetch
Line 14: Line 14:


Bisecting changes in a flake itself can just follow the regular bisecting process.
Bisecting changes in a flake itself can just follow the regular bisecting process.
Bisecting regressions in [[flake]]s' inputs typically involves updating the dependency's <code>rev</code> and <code>narHash</code> in the <code>flake.lock</code> file. Using tools like <code>nix-prefetch-url</code>, <code>nix-hash</code>, <code>jq</code> and <code>sed</code>, this process [https://gist.github.com/KiaraGrouwstra/70bf11002032b3c265512f4e17607631#file-bisect-sh can be scripted].
Bisecting regressions in [[flake]]s' inputs typically involves updating the dependency's <code>rev</code> and <code>narHash</code> in the <code>flake.lock</code> file. Using tools like <code>nix flake prefetch</code>, <code>jq</code> and <code>sed</code>, this process [https://gist.github.com/KiaraGrouwstra/70bf11002032b3c265512f4e17607631#file-bisect-sh can be scripted].