Skip to content

Commit

Permalink
Drop autoexporter usage
Browse files Browse the repository at this point in the history
Problem: `autoexporter` is used in one place to re-export one module.
Probably one day it will re-export more, but at this point it's really
overkill.
Moreover, it causes Hackage build to fail for the reasons mentioned
here:
haskell/hackage-server#821

Solution: stop using it, re-export manually.
  • Loading branch information
gromakovsky committed May 19, 2020
1 parent e4eb7ac commit c87b37e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ default-extensions:
- TypeApplications
- TypeOperators

build-tools:
- autoexporter

ghc-options:
- -Wall
- -Wincomplete-record-updates
Expand Down
8 changes: 6 additions & 2 deletions src/Xrefcheck/Scanners.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{- SPDX-FileCopyrightText: 2018-2019 Serokell <https://serokell.io>
{- SPDX-FileCopyrightText: 2018-2020 Serokell <https://serokell.io>
-
- SPDX-License-Identifier: MPL-2.0
-}

{-# OPTIONS_GHC -F -pgmF autoexporter #-}
module Xrefcheck.Scanners
( module Xrefcheck.Scanners.Markdown
) where

import Xrefcheck.Scanners.Markdown

0 comments on commit c87b37e

Please sign in to comment.