Skip to content

Commit 1595db8

Browse files
committed
[ #1001 ] Supported cabal-install 3.0.0.0 (again).
The previous fix did not work for cabal-install <= 2.4.*.
1 parent 6055922 commit 1595db8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

GNUmakefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ setup: Everything.agda
1818

1919
.PHONY: Everything.agda
2020
Everything.agda:
21-
# The command `cabal build` instead of the command `cabal install` was
22-
# required by `cabal-install 3.0.0.0`. See Issue #1001.
23-
cabal clean && cabal build
21+
# The command `cabal build` is needed by cabal-install 3.0.0.0 and the
22+
# command `cabal install` is needed by cabal-install <= 2.4.*. I did
23+
# not found any problem running both commands with different versions
24+
# of cabal-install. See Issue #1001.
25+
cabal clean && cabal build && cabal install
2426
cabal exec -- GenerateEverything
2527

2628
.PHONY: listings

0 commit comments

Comments
 (0)