Be able to use the `stack` executable in path
See original GitHub issueHi,
In the same spirit as https://github.com/rikvdkleij/intellij-haskell/issues/485 could the intellij-haskell plugin use the stack
executable in path? Or at least make it possible!
This is for the same reason of using Nix (in my case, we package a custom Stack executable where Nix options are all passed). Currently I have to configure an ugly path like /nix/store/g14h563bs6r1s9vrd1dgrald6pg2895q-stack/bin/stack
, but this path may change whenever I change some configuration in my stack
wrapper…
AFAICT this would be the last bit to have a better support for Nix with Intellij 😅
Cheers!
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Haskell Stack `exec` executable not found despite path being ...
stack -work/dist/x86_64-linux/Cabal-1.24.2.0/build/mytest-exe/mytest-exe runs the executable fine. Also I seemed to have no trouble with running 'stack exec ...
Read more >User's guide (introductory) - The Haskell Tool Stack
stack exec works by providing the same reproducible environment that was used to build your project to the command that you are running....
Read more >Specify executable path? - Google Groups
Is there a way to instruct stack on where to place the executable once it has been built? Currently I use: find ./.stack-work/install/x86_64-linux/...
Read more >some better path approach for executables besides stack exec
I'll try to describe the issue clearly. stack install ghc-mod works to install ghc-mod system-wide, and as long as on path, it will...
Read more >Change executable path of a program - Unix Stack Exchange
It's possible to set it back using an alias (e.g. alias zathura="/usr/bin/zathura" ), but I'd rather not do that unless that's exactly how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The only solution which i can implement is to create in Haskell Settings an flag which indicates to use the stack exe in path (with some validation). So this is a workaround. It will ignore the stack path in Haskell Stack SDK.
Seems to work fine, thank you 🙇