Simon Marlow pushed to branch wip/simonmar/ghc-pkg-always-use-cache at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • changelog.d/ghc-pkg-always-use-cache
    1
    +section: ghc-pkg
    
    2
    +synopsis: Add --always-use-cache flag
    
    3
    +mrs: !16941
    
    4
    +
    
    5
    +description: {
    
    6
    +Added a flag `--always-use-cache` to `ghc-pkg`, which forces use of
    
    7
    +`package.cache` regardless of its timestamp. This is intended for use
    
    8
    +in scenarios where timestamps are unreliable but the user has reason
    
    9
    +to trust the validity of the cache, for example the Buck2 build system
    
    10
    +doesn't guarantee to maintain timestamps on build artifacts.
    
    11
    +}