Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
ghcup-hs
Commits
09d2a1e8
Verified
Commit
09d2a1e8
authored
3 years ago
by
Julian Ospald
Browse files
Options
Downloads
Plain Diff
Merge branch 'issue-266'
parents
356a69f5
ccfaedb7
No related branches found
No related tags found
1 merge request
!207
Migrate to aeson-2.0.1.0
Pipeline
#42391
passed
3 years ago
Stage: checks
Stage: quick-test
Stage: test
Stage: expensive-test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cabal.project
+14
-1
14 additions, 1 deletion
cabal.project
ghcup.cabal
+2
-2
2 additions, 2 deletions
ghcup.cabal
lib/GHCup/Types/JSON.hs
+2
-2
2 additions, 2 deletions
lib/GHCup/Types/JSON.hs
with
18 additions
and
5 deletions
cabal.project
+
14
−
1
View file @
09d2a1e8
...
...
@@ -9,8 +9,18 @@ package ghcup
flags: +tui
constraints: http-io-streams -brotli,
any.Cabal ==3.4.0.0 || ==3.6.2.0
any.Cabal ==3.4.0.0 || ==3.6.2.0,
any.aeson >= 2.0.1.0
source-repository-package
type: git
location: https://github.com/hasufell/aeson-pretty.git
tag: e902ab866bb41d990b66af3644aeb352ff7aaf6f
source-repository-package
type: git
location: https://github.com/hasufell/HsYAML-aeson.git
tag: b4b4ab8592918b52a9f2e5bb0c5a795b9721b4f3
package libarchive
flags: -system-libarchive
...
...
@@ -21,4 +31,7 @@ package aeson-pretty
package cabal-plan
flags: -exe
package aeson
flags: +ordered-keymap
allow-newer: base, ghc-prim, template-haskell, language-c
This diff is collapsed.
Click to expand it.
ghcup.cabal
+
2
−
2
View file @
09d2a1e8
...
...
@@ -92,7 +92,7 @@ library
-fwarn-incomplete-record-updates
build-depends:
, aeson >=1.4
&& <1.6
, aeson >=1.4
, async >=0.8 && <2.3
, base >=4.13 && <5
, base16-bytestring >=0.1.1.6 && <1.1
...
...
@@ -189,7 +189,7 @@ executable ghcup
-fwarn-incomplete-record-updates -threaded
build-depends:
, aeson >=1.4
&& <1.6
, aeson >=1.4
, aeson-pretty ^>=0.8.8
, async ^>=2.2.3
, base >=4.13 && <5
...
...
This diff is collapsed.
Click to expand it.
lib/GHCup/Types/JSON.hs
+
2
−
2
View file @
09d2a1e8
...
...
@@ -28,9 +28,9 @@ import GHCup.Utils.Logger () -- TH is broken shite and nee
-- This is due to the boot file.
import
Control.Applicative
(
(
<|>
)
)
import
Data.Aeson
import
Data.Aeson
hiding
(
Key
)
import
Data.Aeson.TH
import
Data.Aeson.Types
import
Data.Aeson.Types
hiding
(
Key
)
import
Data.List.NonEmpty
(
NonEmpty
(
..
)
)
import
Data.Text.Encoding
as
E
import
Data.Versions
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment