Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit a368730

Browse files
authored
Merge pull request #1194 from michaelpj/imp/fix-tests-nixos
Fix some of the tests with cabal new-build
2 parents 0ffe26b + 7e2e32f commit a368730

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

cabal.project

+2
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ packages:
88
./submodules/floskell
99
./submodules/ghc-mod/
1010
./submodules/ghc-mod/core/
11+
12+
tests: true

haskell-ide-engine.cabal

+2-1
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ test-suite unit-test
178178
HooglePluginSpec
179179
JsonSpec
180180
Spec
181+
-- Technically cabal-helper should be a 'run-tool-depends', but that doesn't exist yet
182+
build-tool-depends: cabal-helper:cabal-helper-main, hspec-discover:hspec-discover
181183
build-depends: QuickCheck
182184
, aeson
183185
, base
@@ -200,7 +202,6 @@ test-suite unit-test
200202
if flag(pedantic)
201203
ghc-options: -Werror
202204
default-language: Haskell2010
203-
build-tool-depends: hspec-discover:hspec-discover
204205

205206
test-suite dispatcher-test
206207
type: exitcode-stdio-1.0

0 commit comments

Comments
 (0)