Skip to content
This repository

Integrate with hdevtools #30

rodlogic opened this Issue · 13 comments

4 participants

rodlogic Niklas Hambüchen Alexandr Ruchkin Po Chen

Seems to be much faster than ghc-mod ...

Niklas Hambüchen
nh2 commented

I was so proud of finding this and what happens? The darn community has already found it :D

Nice idea, we should have a look at it.

At least I can contribute the link:

Alexandr Ruchkin mvoidex referenced this issue from a commit
Alexandr Ruchkin mvoidex Integrate hdevtools #30 4f839ae
Alexandr Ruchkin

hdevtools is very fast, cool

Alexandr Ruchkin mvoidex closed this
Po Chen

Does it only work on Unix?

it says:

hdevtools- depends on unix- which failed to install. unix- failed during the building phase.
Alexandr Ruchkin
Po Chen


I'm a noob.
I get this

Warning: The package list for '' is 22 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Configuring hdevtools-
Building hdevtools-
Preprocessing executable 'hdevtools' for hdevtools-
[ 7 of 10] Compiling Daemonize        ( src\Daemonize.hs, dist\build\hdevtools\hdevtools-tmp\Daemonize.o )

src\Daemonize.hs:27:16: Not in scope: `getExecutablePath'
cabal.exe: Error: some packages failed to install:
hdevtools- failed during the building phase. The exception was:
ExitFailure 1

when trying to install your fork,
could you tell me what I should do to make it work?
Anything else I need to do other than cabal install hdevtools.cabal?

Alexandr Ruchkin

No, 'cabal install' should work, something with dependencies, I'll try to fix it soon.

Po Chen

@mvoidex any idea how to get my base library the getExecutablePath function? then you won't have to fix anything. ( I think it belongs to base, from my google result )

Alexandr Ruchkin

@princemaple, this base goes with ghc 7.6.*, I don't think you can just install it.
I'll try to make workaround.
Also, hdevtools is not necessary, it can be disabled without loss in functionality.

Po Chen

@mvoidex OK, Thanks!

Po Chen

@mvoidex Will this be automatically fixed when 2013.2 is released?

Alexandr Ruchkin

Can't find which ghc version will be in 2013.2.
This will be fixed with ghc >= 7.6.1

As workaround, you can try to use getProgName instead of getExecutablePath
It may work if hdevtools is in PATH.

Po Chen

HP2013 came with 7.6.3 :) @mvoidex your fork works now

Alexandr Ruchkin
mvoidex commented

Cool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.