Intended as a more long-term and less breaky version of 4eeba0c53ca213ac191c3b6f90f6320834a7b92b. This removes any messing around with the .stack-work directory, and just makes Stack copy the binaries into the result/ directory.
While this does mean that UPX will minify all binary files, rather than just ones copied on the command line, I don't think that's a serious problem. That said, should be easy enough to install into a temporary directory and copy from there if preferred.
Intended as a more long-term and less breaky version of 4eeba0c53ca213ac191c3b6f90f6320834a7b92b. This removes any messing around with the
.stack-work
directory, and just makes Stack copy the binaries into theresult/
directory.While this does mean that UPX will minify all binary files, rather than just ones copied on the command line, I don't think that's a serious problem. That said, should be easy enough to install into a temporary directory and copy from there if preferred.