Doesn't work with docker-enabled stack projects #167
Comments
Running 'ghc-mod' via 'stack exec' is not really supported, so I don't want However, you probably could do pretty much equivalent with a simple bash #!/bin/bash exec stack exec ghc-mod -- "$@" Make sure to make it executable. Also make sure to use absolute path to 2016-08-08 21:16 GMT+03:00 Sean Hess notifications@github.com:
|
Whelp, github broke formatting in e-mail, so here's the part that it gobbled up: #!/bin/bash
exec stack exec ghc-mod -- "$@" Make sure to make it executable. Also make sure to use absolute path to |
Thanks! On Tue, Aug 9, 2016 at 6:50 AM Nikolay Yakimov notifications@github.com
|
I'm using the docker build feature with stack. This prevents this package from working.
stack new my-project
./dist
, and build ghc-mod in the project folder.ghc-mod is installed and works:
But because it's built via docker, ghc-mod is a linux executable.
Could you switch this project to use
stack exec ghc-mod
instead of trying to run the executables directly?Atom Version: 1.9.6
System: Mac OS X 10.11.5
Thrown From: haskell-ghc-mod package, v1.16.0
Stack Trace
Haskell-ghc-mod: ghc-mod failed to launch. It is probably missing or misconfigured. 126
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: