Bisecting: Difference between revisions
→Flakes: - nix-prefetch-url + nix-hash -> nix flake prefetch |
|||
Line 15: | Line 15: | ||
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 flake prefetch</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]. | ||
[[Category:Version control]] |