disable hitlertest

This commit is contained in:
2026-08-24 01:15:34 -06:00
parent 950d123760
commit bf2fc08ec4
3 changed files with 9 additions and 17 deletions
-1
View File
@@ -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
View File
@@ -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
View File
@@ -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