Description
Is your feature request related to a problem? Please describe.
To ensure the materialization is up-to-date, a.f.a.i.k. it's necessary to run through every GHC version with this:
nix-build scripts/check-compiler-materialization --argstr compiler-nix-name ghcXYZ
and /nix/store/....updateMaterialized
until check-compiler-materialization
completes successfully: https://input-output-hk.github.io/haskell.nix/dev/adding-new-ghc.html#add-the-materialized-files
Describe the solution you'd like
nix-build scripts/check-compiler-materialization --argstr compiler-nix-name all
and calls updateMaterialized
or
nix-build scripts/check-compiler-materialization
which covers all versions and calls updateMaterialized
, or
a bash script which executes check-compiler-materialization
for all GHC versions and repeatedly executes /nix/store/.*-updateMaterialized
as needed, similar to: https://input-output-hk.github.io/haskell.nix/tutorials/materialization.html#how-can-we-update-the-nix-files-with-a-script
Describe alternatives you've considered
What is the correct way to use the compiler-nix-names
argument for multiple GHC versions?
Additional context