To support #255 we need to know the full list of compilers that the registry supports. The registry supports whatever the compilers attrset in the flake.nix is, and that in turn comes from the purescript-overlay repository, which seeks to support all compilers from 0.13.0 onwards.
This PR adds a script named purs-versions that, when called, will spit out all the compilers supported by the registry separated by spaces. For example:
Note: the output is sorted by the string keys seen here, which is not suitable to order by versions because (for example) a string "0.15.10" is considered greater than "0.15.1" but less than "0.15.2", which is obviously incorrect as far as SemVer goes. So anyone consuming this should parse these strings into actual Versions and sort them, if they need a sorted order.
To support #255 we need to know the full list of compilers that the registry supports. The registry supports whatever the
compilers
attrset in theflake.nix
is, and that in turn comes from thepurescript-overlay
repository, which seeks to support all compilers from 0.13.0 onwards.This PR adds a script named
purs-versions
that, when called, will spit out all the compilers supported by the registry separated by spaces. For example:Note: the output is sorted by the string keys seen here, which is not suitable to order by versions because (for example) a string "0.15.10" is considered greater than "0.15.1" but less than "0.15.2", which is obviously incorrect as far as SemVer goes. So anyone consuming this should parse these strings into actual
Version
s and sort them, if they need a sorted order.