Implement fallback install and outputs (#2)

* Add better version support. Restructure code. Implement OS agnostic fallback

* Support latest for cabal and stack. Add enable-stack option.

* Add outputs

* Update documentation. Change default for GHC to latest.
This commit is contained in:
Jared Weakly
2020-04-24 11:53:29 -07:00
committed by GitHub
parent c4e863e92f
commit 120f5dc3eb
19 changed files with 5359 additions and 2031 deletions

37
src/versions.json Normal file
View File

@@ -0,0 +1,37 @@
{
"ghc": [
"8.10.1",
"8.8.3",
"8.8.2",
"8.8.1",
"8.6.5",
"8.6.4",
"8.6.3",
"8.6.2",
"8.6.1",
"8.4.4",
"8.4.3",
"8.4.2",
"8.4.1",
"8.2.2",
"8.0.2",
"7.10.3"
],
"cabal": ["3.2.0.0", "3.0.0.0", "2.4.1.0", "2.4.0.0", "2.2.0.0"],
"stack": [
"2.1.3",
"2.1.1",
"1.9.3",
"1.9.1",
"1.7.1",
"1.6.5",
"1.6.3",
"1.6.1",
"1.5.1",
"1.5.0",
"1.4.0",
"1.3.2",
"1.3.0",
"1.2.0"
]
}