Thank you for your answer, my case is that I need to extract the binary after building in a docker container, so Michael Snoyman's approach seems to fit better.
fredag den 11. oktober 2019 kl. 01.02.36 UTC+2 skrev Han Joosten: > > As far as I know, this is by design. > If you just want to execute it in your sandbox, you can run `stack exec > appName.exe` > If you want the executable to be available in your path, build it with > `stack install` > > > Op donderdag 10 oktober 2019 22:01:44 UTC+2 schreef Casper T. Hansen: >> >> 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/ -name >> appName-exe >> but it seems like something, where I just cannot find the right command. >> > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/9ffab632-c604-4a30-abb8-c78a0aa58d83%40googlegroups.com.