disable hitlertest
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
in ''
|
||||
export GYEHOEK_RUNTIME=${lib.getExe final.gyehoek-runtime}
|
||||
export PATH=${lib.makeBinPath bin}:$PATH
|
||||
export GYEHOEK_IN_NIX_BUILD=1
|
||||
'';
|
||||
})];
|
||||
shell = {
|
||||
|
||||
+8
-8
@@ -156,11 +156,11 @@ test-suite test
|
||||
default-language: GHC2024
|
||||
|
||||
-- https://github.com/martijnbastiaan/doctest-parallel/pull/66
|
||||
test-suite doctest
|
||||
import: ghcstuffs, ghcstuffs-dev
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: doctest.hs
|
||||
build-depends:
|
||||
, base
|
||||
, doctest-parallel >=0.1
|
||||
-- test-suite doctest
|
||||
-- import: ghcstuffs, ghcstuffs-dev
|
||||
-- type: exitcode-stdio-1.0
|
||||
-- hs-source-dirs: test
|
||||
-- main-is: doctest.hs
|
||||
-- build-depends:
|
||||
-- , base
|
||||
-- , doctest-parallel >=0.1
|
||||
|
||||
+1
-8
@@ -7,11 +7,4 @@ import System.IO (stderr, hPutStrLn)
|
||||
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
nix <- maybe False null <$> lookupEnv "GYEHOEK_IN_NIX_BUILD"
|
||||
if nix then do
|
||||
hPutStrLn stderr "\
|
||||
\skipping doctests in Nix build environment. \
|
||||
\see https://github.com/pcapriotti/optparse-applicative/pull/408."
|
||||
else
|
||||
mainFromCabal "gyehoek" =<< getArgs
|
||||
main = mainFromCabal "gyehoek" =<< getArgs
|
||||
|
||||
Reference in New Issue
Block a user