You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ stack install haskell-awk
Copied executables to /Users/michaelboosalis/.local/bin:
- hawk
$ hawk
Usage ...
$ seq 0 3 | hawk -a 'L.reverse'
hawk: ghc: readCreateProcessWithExitCode: runInteractiveProcess: exec: does not exist (No such file or directory)
with:
OSX 10.11.5
$ cat stack.yaml
resolver: lts-6.1
$ stack exec -- ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.10.3
The text was updated successfully, but these errors were encountered:
If I understand this correctly, every time the user modifies ~/.hawk/prelude.hshawk will invoke ghc via System.Process.readProcessWithExitCode "ghc" to (re-)compile the user prelude. However, stack does not install a particular ghc in the $PATH. Of course, running stack exec hawk in the source base will compile successfully the prelude and one can use hawk thereafter. This or simply adding the stack installed ghc path to $PATH would be temporary ways around this issue, albeit a tad cumbersome.
steps:
with:
OSX 10.11.5
The text was updated successfully, but these errors were encountered: