on master help sign in
CURATORS.md: how to tweak package when NOPLAN=1
9f8cd8fJens Petersen
CURATORS.md+4−1
@@ -314,7 +314,10 @@ develop this advice over time. For now: if you're not sure, ask for guidance.
314__`NOPLAN=1`__ If you wish to rerun a build without recalculating a
314__`NOPLAN=1`__ If you wish to rerun a build without recalculating a
315build plan, you can set the environment variable `NOPLAN=1`. This is
315build plan, you can set the environment variable `NOPLAN=1`. This is
316useful for such cases as an intermittent test failure, out of memory
316useful for such cases as an intermittent test failure, out of memory
317−condition, or manually tweaking the plan file.
317+condition, or manually tweaking the plan file. (When using `NOPLAN=1`,
318+if one needs to revert one package, say due to a build or test regression,
319+one can edit `current-plan.yaml` and updated the SHA256 hash of the .cabal file,
320+to avoid having to rebuild everything again.)
318
321
319Note LTS builds inherit the current Hackage data (stack updated for Nigthly) to avoid excess extra rebuilding.
322Note LTS builds inherit the current Hackage data (stack updated for Nigthly) to avoid excess extra rebuilding.
320
323