Fabrizio Ferrai

Results 440 comments of Fabrizio Ferrai

Thanks everyone for the thoughtful discussion here! It's been of great inspiration to understand the problem space a little better, and I'm grateful for that 😊 A lot of things...

IIRC there was a config option in `optparse-applicative` to enable mixing global and subcommand-specific flags after the subcommand, but I am not able to find it now :thinking:

Maybe [`subparserInline`](https://www.stackage.org/haddock/lts-16.26/optparse-applicative-0.15.1.0/Options-Applicative.html#v:subparserInline)?

Yeah, I think this is some sort of bug? The result is indeed really puzzling: - `spago bundle-app` is a thin layer over `purs bundle "output/*/*.js" -m Main --main Main...

I suspect this is a duplicate of #472, where the bug is in this line? https://github.com/purescript/spago/blob/8ce19ea5648f8bd65d6db88428bac56e66cf2560/src/Spago/Config.hs#L115 I suspect that we can get around this by patching the path in Dhall's...

This doesn't sound right - are you able to put together a small repro that I can look at?

Thank you! This is a bug - and it happens because we try to be smart about reading files: for the `ls packages` command we don't strictly need the `spago.dhall`,...

@JordanMartinez yes, definitely! I think it's a big enough feature that it'd be worth discussing possible approaches before going for the code, either here or in the `#spago` channel in...

> but the idea behind this flag is to make spago continue to work as much as possible without using an internet connection and failing otherwise, right? Yes! We should...

Thanks for reporting @ianp! We use this little script to download/unpack the binary from the releases: https://github.com/purescript/spago/blob/72315e003857e2a6c6e5904716d440925990ec21/npm/install.js#L1-L9 As you can see in line 6 we read `process.platform` and download the...