summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-04-04 10:52:49 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-05-04 14:58:14 -0400
commit8cc9a534951d8352c31c9a21f5f91bbf188722b2 (patch)
treea599c18813ae3b42638af97d135f0913cfc6f900 /utils
parent8fde4ac84ec7b1ead238cb158bbef48555d12af9 (diff)
downloadhaskell-8cc9a534951d8352c31c9a21f5f91bbf188722b2.tar.gz
hadrian: Flavour: Change args -> extraArgs
Previously in a flavour definition you could override all the flags which were passed to GHC. This causes issues when needed to compute a package hash because we need to know what these extra arguments are going to be before computing the hash. The solution is to modify flavour so that the arguments you pass here are just extra ones rather than all the arguments that you need to compile something. This makes things work more like how cabal.project files work when you give extra arguments to a package and also means that flavour transformers correctly affect the hash.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions