Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get error after installing via stack #155

Open
mmynsted opened this issue May 19, 2016 · 4 comments
Open

Get error after installing via stack #155

mmynsted opened this issue May 19, 2016 · 4 comments
Milestone

Comments

@mmynsted
Copy link

Install

stack install haskell-awk

Use

01:28 $ hawk '"hello world"'
error: Won't compile:
        <no location info>:
    Could not find module ‘System.Console.Hawk.Runtime.Base’
    Use -v to see a list of the files searched for.

Does work directly from stack via

stack exec hawk '"hello world"'

Prefixing all calls to hawk with stack exec has not proved useful.

I am told the problem is because hawk is assuming that the executable is located in a position relative to its data files... And that is should do something like:

accessing-data-files-from-package-code

@gelisam
Copy link
Owner

gelisam commented May 19, 2016

I already added support for stack in #150, but my last comment in that thread seems to indicate that I've never released the fixed version. I'll do that now. Thanks for reporting the problem!

gelisam added a commit that referenced this issue May 20, 2016
For #155, I cherry-picked a few commits into stable, which caused
stable to diverge from master. This merge brings them back together.
gelisam added a commit that referenced this issue May 21, 2016
For #155, I cherry-picked a few commits into stable, which caused
stable to diverge from master. This merge brings them back together.

Conflicts:
	haskell-awk.cabal
@gelisam
Copy link
Owner

gelisam commented May 22, 2016

Hmm, the tests don't pass on TravisCI and I don't understand why. They pass on my machine. It might take a little longer before I can release...

@gelisam
Copy link
Owner

gelisam commented Mar 8, 2018

I "fixed" the tests by disabling them in #173 (I'll re-enable them in #174). This means I can finally release 1.1.2!!

@gelisam
Copy link
Owner

gelisam commented Nov 26, 2018

Huh. I didn't release 1.1.2, then I worked on other things for a while, now I'm coming back to work on hawk, I upgraded to a more recent ghc, I'm ready to release a new version, and I'm like "who disabled the tests?? I can't release like this!". So I'm quite surprised to read in the comment above that I disabled the tests in order to make a release? What?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants