diff --git a/test/external-static-plugin/default.nix b/test/external-static-plugin/default.nix index d1ba999259..6f0307a4c9 100644 --- a/test/external-static-plugin/default.nix +++ b/test/external-static-plugin/default.nix @@ -1,4 +1,4 @@ -{ cabalProject', testSrc, compiler-nix-name, buildPackages evalPackages, recurseIntoAttrs, haskellLib }: let +{ cabalProject', testSrc, compiler-nix-name, buildPackages, evalPackages, recurseIntoAttrs, haskellLib }: let project = cabalProject' { src = testSrc "external-static-plugin"; inherit compiler-nix-name evalPackages; diff --git a/test/external-static-plugin/plugin/src/Plugin.hs b/test/external-static-plugin/plugin/src/Plugin.hs index 391a653ec1..1041ed4263 100644 --- a/test/external-static-plugin/plugin/src/Plugin.hs +++ b/test/external-static-plugin/plugin/src/Plugin.hs @@ -1,7 +1,6 @@ module Plugin (plugin) where -import GhcPlugins -import MonadUtils +import GHC.Plugins import System.IO import Control.Monad diff --git a/test/external-static-plugin/prog/prog.cabal b/test/external-static-plugin/prog/prog.cabal index 147b7007eb..487f1ce0a1 100644 --- a/test/external-static-plugin/prog/prog.cabal +++ b/test/external-static-plugin/prog/prog.cabal @@ -7,6 +7,7 @@ extra-source-files: CHANGELOG.md executable prog main-is: Main.hs - build-depends: base + build-depends: base, plugin hs-source-dirs: app + ghc-options: -fplugin=Plugin -fplugin-opt=Plugin:f1 -fplugin-opt=Plugin:f2 default-language: Haskell2010