Closed turtle11311 closed 7 years ago
Try setting it in Atom init script, e.g.
process.env.cabal_helper_libexecdir = '/path/to/libexecdir'
Although technically, this path should be baked-in if you installed
2016-11-05 7:50 GMT+03:00 Wong, Fu-Lian notifications@github.com:
I add $cabal_helper_libexecdir to my bashrc, it can run ghc-mod in command line, but in atom still error with cabal_helper_libexecdir
ghc-mod: ghc-mod: Could not find $libexecdir/cabal-helper-wrapper-v0.7 If you are a developer set the environment variable `cabal_helper_libexecdir' to override $libexecdir1. The following will work in the cabal-helper source tree: $ export cabal_helper_libexecdir=$PWD/dist/build/cabal-helper-wrapper-v0.7
If you don't know what I'm talking about something went wrong with your installation. Please report this problem here: https://github.com/DanielG/cabal-helper/issues
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/188, or mute the thread https://github.com/notifications/unsubscribe-auth/AG8EZgQRoiqzOSHNSSGCZwRLOH19Hvuqks5q7AsOgaJpZM4KqK3Y .
... ghc-mod correctly.
2016-11-05 8:48 GMT+03:00 Nikolay Yakimov root@livid.pp.ru:
Try setting it in Atom init script, e.g.
process.env.cabal_helper_libexecdir = '/path/to/libexecdir'
Although technically, this path should be baked-in if you installed
2016-11-05 7:50 GMT+03:00 Wong, Fu-Lian notifications@github.com:
I add $cabal_helper_libexecdir to my bashrc, it can run ghc-mod in command line, but in atom still error with cabal_helper_libexecdir
ghc-mod: ghc-mod: Could not find $libexecdir/cabal-helper-wrapper-v0.7 If you are a developer set the environment variable `cabal_helper_libexecdir' to override $libexecdir1. The following will work in the cabal-helper source tree: $ export cabal_helper_libexecdir=$PWD/dist/build/cabal-helper-wrapper-v0.7
If you don't know what I'm talking about something went wrong with your installation. Please report this problem here: https://github.com/DanielG/cabal-helper/issues
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/atom-haskell/haskell-ghc-mod/issues/188, or mute the thread https://github.com/notifications/unsubscribe-auth/AG8EZgQRoiqzOSHNSSGCZwRLOH19Hvuqks5q7AsOgaJpZM4KqK3Y .
thanks it work
I add $cabal_helper_libexecdir to my bashrc, it can run ghc-mod in command line, but in atom still error with cabal_helper_libexecdir