Skip to content

Commit

Permalink
Fix #7095: our cabal build flags are actually all "manual".
Browse files Browse the repository at this point in the history
But cabal defaults to "automatic" unless we write `manual: True`.

Also add a missing `autogen-modules` field.

Closes #7095.
  • Loading branch information
andreasabel committed Feb 7, 2024
1 parent 34ada52 commit 3cdbd39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Agda.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -171,22 +171,26 @@ flag debug

flag debug-serialisation
default: False
manual: True
description:
Enable debug mode in serialisation. This makes serialisation slower.

flag debug-parsing
default: False
manual: True
description:
Enable debug mode in parsing. This makes parsing slower.

flag enable-cluster-counting
default: False
manual: True
description:
Enable the --count-clusters flag. (If enable-cluster-counting is
False, then the --count-clusters flag triggers an error message.)

flag optimise-heavily
default: False
manual: True
description:
Enable some expensive optimisations when compiling Agda.

Expand Down Expand Up @@ -866,6 +870,7 @@ executable agda
executable agda-mode
hs-source-dirs: src/agda-mode
main-is: Main.hs
autogen-modules: Paths_Agda
other-modules: Paths_Agda
build-depends:
, base >= 4.12.0.0 && < 4.20
Expand Down

0 comments on commit 3cdbd39

Please sign in to comment.