Skip to content

Commit

Permalink
Add with-ghc.config to reset --with-compiler=ghc
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Jan 23, 2024
1 parent 08a8f33 commit a2d9402
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
constraints: hashable ==1.4.2.0
import: https://www.stackage.org/nightly-2023-12-07/cabal.config
import: with-ghc.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
import: https://www.stackage.org/nightly-2023-12-07/cabal.config
constraints: hashable ==1.4.2.0
import: with-ghc.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
constraints: hashable ==1.4.2.0
import: stackage-web.config
import: with-ghc.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
import: stackage-web.config
constraints: hashable ==1.4.2.0
import: with-ghc.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
constraints: hashable ==1.4.2.0
import: hop-web.config
import: with-ghc.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ packages: .
allow-newer: hashable:*
import: hop-web.config
constraints: hashable ==1.4.2.0
import: with-ghc.config
7 changes: 7 additions & 0 deletions cabal-testsuite/PackageTests/VersionPriority/with-ghc.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- WARNING: Override the `with-compiler: ghc-x.y.z` of the stackage import, of
-- https://www.stackage.org/nightly-yyyy-mm-dd/cabal.config. Otherwise tests
-- will fail with:
-- -Error: [Cabal-5490]
-- -Cannot find the program 'ghc'. User-specified path 'ghc-x.y.z' does not
-- refer to an executable and the program is not on the system path.
with-compiler: ghc

0 comments on commit a2d9402

Please sign in to comment.