snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 39 forks source link

Lint error: incorrect handling of configuration files #569

Closed snowleopard closed 6 years ago

snowleopard commented 6 years ago

After #568, the Linux build succeeds but reports the following lint error. Should be an easy fix.

Lint checking error - 14 values have changed since being depended upon:
  Key:  doesFileExist _build/stage0/lib/package.conf.d/process-1.6.3.0.conf
  Old:  False
  New:  True

  Key:  doesFileExist _build/stage0/lib/package.conf.d/pretty-1.1.3.6.conf
  Old:  False
  New:  True

  Key:  doesFileExist _build/stage0/lib/package.conf.d/directory-1.3.1.5.conf
  Old:  False
  New:  True

[...]
snowleopard commented 6 years ago

Looks like #575 worked.

The solution may be a bit questionable, but the whole unregister + register thing is.