ghcup 0.2.1.0 → 0.2.2.0
raw patch · 4 files changed
+8/−4 lines, 4 files
Files
- CHANGELOG.md +4/−0
- app/ghcup/Main.hs +2/−2
- ghcup.cabal +1/−1
- scripts/bootstrap/bootstrap-haskell +1/−1
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Version history for ghcup +## 0.2.2.0 -- 2026-05-21++* fix minor bug in "new tool available" update check+ ## 0.2.1.0 -- 2026-05-21 ### New feature
app/ghcup/Main.hs view
@@ -268,10 +268,10 @@ <> " " <> T.pack (prettyShow l) - let warnMsg = warnMsg' <> "'\nTo skip this check in the future, export GHCUP_SKIP_UPDATE_CHECK=1"+ let warnMsg = warnMsg' <> "\nTo skip this check in the future, export GHCUP_SKIP_UPDATE_CHECK=1" let warnFile = fromGHCupPath cacheDir </> "ghcup_update_check" prevWarn <- try @_ @SomeException $ liftIO $ T.readFile warnFile- if either (const Nothing) Just prevWarn == Just warnMsg+ if T.null warnMsg' || either (const Nothing) Just prevWarn == Just warnMsg then pure () else do liftIO $ T.writeFile warnFile warnMsg
ghcup.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: ghcup-version: 0.2.1.0+version: 0.2.2.0 license: LGPL-3.0-only license-file: LICENSE copyright: Julian Ospald 2024
scripts/bootstrap/bootstrap-haskell view
@@ -41,7 +41,7 @@ plat="$(uname -s)" arch=$(uname -m)-ghver="0.2.1.0"+ghver="0.2.2.0" : "${GHCUP_BASE_URL:=https://downloads.haskell.org/~ghcup}" export GHCUP_SKIP_UPDATE_CHECK=yes