Skip to content

Commit

Permalink
hello-world-ui-test: specify empty library due to cabal bug
Browse files Browse the repository at this point in the history
Since we are making the Haskell code just to test a Purescript project,
we have ended up with no library or executable in the cabal file, which
means we have to specify a null one.

haskell/cabal#6750
  • Loading branch information
MatthewCroughan committed May 31, 2022
1 parent 4dfa6ec commit 9a88bf6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ cabal-version: 2.4
name: hello-world-ui-selenium-test
version: 0.1.0.0

-- Cabal bug requires us to specify empty library for haskell.nix
-- https://github.com/haskell/cabal/issues/6750
-- https://github.com/input-output-hk/haskell.nix/blob/ebdc0030e6973629c1ed7dba53c1b1d154c3e75e/builder/comp-builder.nix#L264
library

test-suite sydtest-webdriver
default-language: Haskell2010
type: exitcode-stdio-1.0
Expand Down

0 comments on commit 9a88bf6

Please sign in to comment.