Skip to content

Commit 79330b4

Browse files
committed
Fix external-static-plugin test
1 parent 3209fe1 commit 79330b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/external-static-plugin/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ cabalProject', testSrc, compiler-nix-name, buildPackages evalPackages, recurseIntoAttrs, haskellLib }: let
1+
{ cabalProject', testSrc, compiler-nix-name, buildPackages, evalPackages, recurseIntoAttrs, haskellLib }: let
22
project = cabalProject' {
33
src = testSrc "external-static-plugin";
44
inherit compiler-nix-name evalPackages;

test/external-static-plugin/plugin/src/Plugin.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module Plugin (plugin) where
22

3-
import GhcPlugins
4-
import MonadUtils
3+
import GHC.Plugins
54
import System.IO
65
import Control.Monad
76

test/external-static-plugin/prog/prog.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ extra-source-files: CHANGELOG.md
77

88
executable prog
99
main-is: Main.hs
10-
build-depends: base
10+
build-depends: base, plugin
1111
hs-source-dirs: app
12+
ghc-options: -fplugin=Plugin -fplugin-opt=Plugin:f1 -fplugin-opt=Plugin:f2
1213
default-language: Haskell2010

0 commit comments

Comments
 (0)