Skip to content

Make Hadrian flavours more compositional

Ben Gamari requested to merge wip/fix-hadrian-ticky into master

Here we implement the idea floated in #18942 (closed) by introducing a notion of flavour transformers, accessible via the command-line.

This makes the --flavour option accept the following syntax:

flavour = flavour_name ('+' transformer_name)*

which allows the user to modify the flavour without modifying UserSettings.hs.

We currently provide flavour transformers which cover most of the existing configuration options that are commonly changed.

Edited by Sebastian Graf

Merge request reports