Skip to content

ghc.mk: fix 'make install' (`mk/system-cxx-std-lib-1.0.conf.install` does not exist)

ghc.mk: fix 'make install' (mk/system-cxx-std-lib-1.0.conf.install does not exist)

before the change make install was failing as:

"mv" "/<<NIX>>/ghc-9.3.20220406/lib/ghc-9.5.20220625/bin/ghc-stage2" "/<<NIX>>/ghc-9.3.20220406/lib/ghc-9.5.20220625/bin/ghc"
make[1]: *** No rule to make target 'mk/system-cxx-std-lib-1.0.conf.install', needed by 'install_packages'.  Stop.

I think it's a recent regression caused by 0ef249aa where system-cxx-std-lib-1.0.conf is created (somewhat manually), but not the .install varianlt of it.

The fix is to consistently use mk/system-cxx-std-lib-1.0.conf everywhere.

Closes: #21784 (closed)

Merge request reports