Ahh I will try this! I need to extract the binary after building in a docker container, so this seems to be a good approach. Thank you.
fredag den 11. oktober 2019 kl. 09.04.47 UTC+2 skrev Michael Snoyman: > > You can use `stack install` or `stack build --copy-bins` with > `--local-bin-path` > > On Thu, Oct 10, 2019 at 11:01 PM Casper T. Hansen <c.thul...@gmail.com > <javascript:>> wrote: > >> 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 haskel...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/haskell-stack/3b77b516-f2c6-4578-bdc3-c5a535d38e2c%40googlegroups.com >> >> <https://groups.google.com/d/msgid/haskell-stack/3b77b516-f2c6-4578-bdc3-c5a535d38e2c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/88c0e546-49c8-4603-b520-d2b82501cd2f%40googlegroups.com.