[GHC] #16093: mkPluginUsage: file not found

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I've been trying to track down another plugin issue when I ran into this one. I have the following `TestPlugin.hs` file: {{{#!hs module TestPlugin (plugin) where import GhcPlugins plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos) test = CoreDoPluginPass "Test" return }}} And the following `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} main :: IO () main = return () }}} They are both in the same directory. With ghc 8.4.2, I have: {{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}} But with ghc 8.6.3, I get: {{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} My original problem was different actually, so if you can suggest at least a workaround for this without actually fixing it I can proceed to replicate the other one. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by lerkok: Old description:
I've been trying to track down another plugin issue when I ran into this one.
I have the following `TestPlugin.hs` file:
{{{#!hs module TestPlugin (plugin) where
import GhcPlugins
plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos)
test = CoreDoPluginPass "Test" return }}}
And the following `Test.hs` file:
{{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-}
main :: IO () main = return () }}}
They are both in the same directory. With ghc 8.4.2, I have:
{{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}}
But with ghc 8.6.3, I get:
{{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}}
My original problem was different actually, so if you can suggest at least a workaround for this without actually fixing it I can proceed to replicate the other one.
New description: I've been trying to track down another plugin issue when I ran into this one. I have the following `TestPlugin.hs` file: {{{#!hs module TestPlugin (plugin) where import GhcPlugins plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos) test = CoreDoPluginPass "Test" return }}} And the following `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} main :: IO () main = return () }}} They are both in the same directory. With ghc 8.4.2, I have: {{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}} But with ghc 8.6.3, I get: {{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be an issue. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by lerkok: Old description:
I've been trying to track down another plugin issue when I ran into this one.
I have the following `TestPlugin.hs` file:
{{{#!hs module TestPlugin (plugin) where
import GhcPlugins
plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos)
test = CoreDoPluginPass "Test" return }}}
And the following `Test.hs` file:
{{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-}
main :: IO () main = return () }}}
They are both in the same directory. With ghc 8.4.2, I have:
{{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}}
But with ghc 8.6.3, I get:
{{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}}
The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be an issue.
New description: I've been trying to track down another plugin issue when I ran into this one. I have the following `TestPlugin.hs` file: {{{#!hs module TestPlugin (plugin) where import GhcPlugins plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos) test = CoreDoPluginPass "Test" return }}} And the following `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} main :: IO () main = return () }}} They are both in the same directory. With ghc 8.4.2, I have: {{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}} But with ghc 8.6.3, I get: {{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be at least "unexpected" by ghci. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by lerkok: Old description:
I've been trying to track down another plugin issue when I ran into this one.
I have the following `TestPlugin.hs` file:
{{{#!hs module TestPlugin (plugin) where
import GhcPlugins
plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos)
test = CoreDoPluginPass "Test" return }}}
And the following `Test.hs` file:
{{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-}
main :: IO () main = return () }}}
They are both in the same directory. With ghc 8.4.2, I have:
{{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}}
But with ghc 8.6.3, I get:
{{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}}
The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be at least "unexpected" by ghci.
New description: I have the following `TestPlugin.hs` file: {{{#!hs module TestPlugin (plugin) where import GhcPlugins plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos) test = CoreDoPluginPass "Test" return }}} And the following `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} main :: IO () main = return () }}} They are both in the same directory. With ghc 8.4.2, I have: {{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}} But with ghc 8.6.3, I get: {{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be at least "unexpected" by ghci. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by lerkok: Old description:
I have the following `TestPlugin.hs` file:
{{{#!hs module TestPlugin (plugin) where
import GhcPlugins
plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos)
test = CoreDoPluginPass "Test" return }}}
And the following `Test.hs` file:
{{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-}
main :: IO () main = return () }}}
They are both in the same directory. With ghc 8.4.2, I have:
{{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}}
But with ghc 8.6.3, I get:
{{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}}
The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be at least "unexpected" by ghci.
New description: I have the following `TestPlugin.hs` file: {{{#!hs module TestPlugin (plugin) where import GhcPlugins plugin :: Plugin plugin = defaultPlugin {installCoreToDos = install} where install _ todos = return (test : todos) test = CoreDoPluginPass "Test" return }}} And the following `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} main :: IO () main = return () }}} They are both in the same directory. With ghc 8.4.2, I have: {{{ $ ghci-8.4.2 -package ghc Test.hs GHCi, version 8.4.2: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) Ok, two modules loaded. }}} But with ghc 8.6.3, I get: {{{ $ ghci-8.6.3 -package ghc Test.hs GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help [1 of 2] Compiling TestPlugin ( TestPlugin.hs, interpreted ) [2 of 2] Compiling Main ( Test.hs, interpreted ) ghc: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin ./TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} The problem goes away if I first compile `TestPlugin.hs` and create a `.o` file; but nonetheless this seems to be a regression from 8.4.2. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lerkok): Some further bad news; this impacts `haddock` as well: {{{ $ haddock --optghc="-package ghc" Test.hs Haddock coverage: Warning: Package name is not available. 0% ( 0 / 2) in 'TestPlugin' Missing documentation for: Module header plugin (./TestPlugin.hs:5) haddock: ^^ Could not load '_TestPlugin_plugin_closure', dependency unresolved. See top entry above. }}} There's a related cabal issue: https://github.com/haskell/cabal/issues/888, which suggests adding `{-# LANGUAGE TemplateHaskell #-}` to the `Test.hs` program though it should not be necessary. But doing so doesn't help either. With this `Test.hs` file: {{{#!hs {-# OPTIONS_GHC -fplugin TestPlugin #-} {-# LANGUAGE TemplateHaskell #-} -- shouldn't be needed, but let's try main :: IO () main = return () }}} `cabal` now says: {{{ [istanbul]~/qq>haddock --optghc="-package ghc" Test.hs Haddock coverage: Warning: Package name is not available. 0% ( 0 / 2) in 'TestPlugin' Missing documentation for: Module header plugin (./TestPlugin.hs:5) haddock: panic! (the 'impossible' happened) (GHC version 8.6.3 for x86_64-apple-darwin): mkPluginUsage: file not found TestPlugin /var/folders/ty/r22vmk1j7kxc60j8f5l3wgzc0000gn/T/.haddock-85267/TestPlugin.o Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable pprPanic, called at compiler/deSugar/DsUsage.hs:234:15 in ghc:DsUsage Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} So, we're back to square one here. Unfortunately, the workaround of "first create a .o" file doesn't really work in this context as I don't think that's something I can instruct `haddock` to do; much less if it's coming from `cabal haddock`. Really stumped on how to proceed here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): Workaround: package the plugin in a package? Did you try that? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lerkok): Not sure how to do that here: The haddock is running for the plugin package itself in my actual use case. (And showing this very symptom.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by darchon): As a workaround you can run ghci with `-fobject-code`, and for haddock add the `--optghc="-fobject-code"` (you won't need the TemplateHaskell langauge pragma anymore either). Anyhow, this is a regression I introduced when improving/fixing the recompilation logic: https://github.com/ghc/ghc/commit/52065e95c6df89d0048c6e3f35d6cc26ce8246f9 So to determine whether we need to recompile a module we need to track its "inputs", which includes the plugins the the module was compiled with. We decided to use the binary objects, `.so/.a` for packaged plugins, `.o` for local plugins, because they can only give false positives to determine whether the functionality of the plugin changes (`.hi` files can give false negatives). I guess I need to rethink how to handle local plugins... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16093: mkPluginUsage: file not found -------------------------------------+------------------------------------- Reporter: lerkok | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by lerkok): @darchon: Thanks for looking into this. Do you know how to modify the cabal file to pass this option? I tried a few things but couldn't figure it out. (Otherwise I'm not sure how to build this for hackage.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16093#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC