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