Open toastal opened 3 years ago
I'd be happy to merge a PR that moves purescript (and spago?) to optionalDependencies
if it helps nix
users.
@toastal Also currently I haven't worked much with the non-prettier integration/standalone formatter, it's quite possible that we can improve the feature set here by providing more flags and ways of reading and writing output.
The documentation could say that you should install PureScript and Spago or use npx
to download them.
Or possibly dropped altogether with the implication that the user should have installed it already? By default, just installing PureScript through generic NPM is incompatible with Nix (because of dynamic linking, hence why
easy-purescript-nix
exists). Users may also be getting their PureScript binary from other avenues likeasdf
or Docker or the OS.I am trying to add this upstream to
nixpkgs
. I'm starting to./generate.sh
it, but I have a feeling it may fail because of this requirement (and even if it does work, it's kinda wasteful to download and not use the binary specifically).