Skip to content

Commit

Permalink
Fix external-static-plugin test
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Oct 30, 2024
1 parent 3209fe1 commit 79330b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/external-static-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 1 addition & 2 deletions test/external-static-plugin/plugin/src/Plugin.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module Plugin (plugin) where

import GhcPlugins
import MonadUtils
import GHC.Plugins
import System.IO
import Control.Monad

Expand Down
3 changes: 2 additions & 1 deletion test/external-static-plugin/prog/prog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 79330b4

Please sign in to comment.