From 4a8ca7619883491aae80b6b1e5c659c36943b945 Mon Sep 17 00:00:00 2001 From: kokobd Date: Sun, 25 Feb 2024 01:02:52 +0000 Subject: [PATCH] always try the replacement --- .github/workflows/test.yml | 4 ---- src/Hoogle/Cabal/Command/Generate.hs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 592279c..e263e7c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,10 +11,6 @@ jobs: - "9.2.8" - "9.4.8" - "9.6.4" - exclude: - # Some GHCs from GHCup don't have pre-compiled hoogle for bundled libraries - - os: macos-latest - ghc: "9.2.8" runs-on: ${{ matrix.os }} defaults: run: diff --git a/src/Hoogle/Cabal/Command/Generate.hs b/src/Hoogle/Cabal/Command/Generate.hs index b1b8ba4..38aaa4a 100644 --- a/src/Hoogle/Cabal/Command/Generate.hs +++ b/src/Hoogle/Cabal/Command/Generate.hs @@ -169,7 +169,6 @@ symlinkDependencies logger localPackages hoogleDependenciesDir = do $ depsWithName haddockHTMLs' :: InstalledPackageInfo -> [FilePath] -#if MIN_VERSION_GLASGOW_HASKELL(9,4,0,0) haddockHTMLs' pkg = fmap ( case pkgRoot pkg of @@ -178,6 +177,3 @@ haddockHTMLs' pkg = ) . haddockHTMLs $ pkg -#else -haddockHTMLs' = haddockHTMLs -#endif