Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade nixpkgs take 2 #40

Draft
wants to merge 8 commits into
base: trunk
Choose a base branch
from
Draft

Upgrade nixpkgs take 2 #40

wants to merge 8 commits into from

Conversation

zwilias
Copy link
Member

@zwilias zwilias commented Apr 11, 2022

A second take on #27

In e360a47 this PR adds key-comparison for our use of aeson-pretty so its generated JSON has consistently ordered keys. This should protect us somewhat against future reordering of key/value pairs. It also serves as "proof" that the generated outputs did not change in any commits after e2a86c9

CC @stoeffel

in case Aeson.eitherDecode' str of
Prelude.Left err -> Err (Text.fromList err)
Prelude.Right (json :: Aeson.Value) ->
Data.Aeson.Encode.Pretty.encodePretty' config json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -5,18 +5,9 @@ let
in import nix/mk-shell.nix {
pkgs = pkgs;
haskellPackages = pkgs.haskell.packages.ghc8107.extend (self: super: {
semialign = super.semialign_1_2_0_1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that we now can just use what's on nixpkgs!

@rekahsoft rekahsoft added the Hold On hold, not being actively worked on, but valuable for the future label Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hold On hold, not being actively worked on, but valuable for the future
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants