Skip to content
This repository

Integrate with hdevtools #30

Closed
rodlogic opened this Issue · 13 comments

4 participants

rodlogic Niklas Hambüchen Alexandr Ruchkin Po Chen
rodlogic

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

Niklas Hambüchen
Owner
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: https://github.com/bitc/hdevtools

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

hdevtools is very fast, cool

Alexandr Ruchkin mvoidex closed this
Po Chen

Does it only work on Unix?

it says:

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

@mvoidex
Hi,

I'm a noob.
I get this

Warning: The package list for 'hackage.haskell.org' is 22 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Configuring hdevtools-0.1.0.5...
Building hdevtools-0.1.0.5...
Preprocessing executable 'hdevtools' for hdevtools-0.1.0.5...
[ 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-0.1.0.5 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
Owner

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
Owner

@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?
http://trac.haskell.org/haskell-platform/wiki/ReleaseTimetable

Alexandr Ruchkin
Owner

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
Owner
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.