diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
 For the latest version of this document, please see
 [https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md](https://github.com/DougBurke/hvega/blob/master/ihaskell-hvega/CHANGELOG.md).
 
+## 0.5.0.3
+
+Support aeson 2.1.
+
 ## 0.5.0.2
 
 Improve links in the haddock documentation. There are no code changes.
diff --git a/default.nix b/default.nix
--- a/default.nix
+++ b/default.nix
@@ -4,6 +4,11 @@
 }:
 
 let
+  # There must be a better way than this! I just want to avoid
+  # excessive compilation when using a non-standard compiler.
+  #
+  isDefaultCompiler = compiler == "ghc8107";
+
   # since we are in a sub-directory
   # gitignore = pkgs.nix-gitignore.gitignoreSourcePure [ ./.gitignore ];
   gitignore = pkgs.nix-gitignore.gitignoreSourcePure [ ../.gitignore ];
@@ -26,12 +31,13 @@
     ];
     buildInputs = [
       pkgs.haskellPackages.cabal-install
-      pkgs.haskellPackages.haskell-language-server
       pkgs.haskellPackages.hlint
       pkgs.haskellPackages.ihaskell
       pkgs.niv
+    ] ++ pkgs.lib.optionals isDefaultCompiler [
+      pkgs.haskellPackages.haskell-language-server
     ];
-    withHoogle = true;
+    withHoogle = isDefaultCompiler;
   };
 
   # exe = pkgs.haskell.lib.justStaticExecutables (myHaskellPackages."ihaskell-hvega");
diff --git a/ihaskell-hvega.cabal b/ihaskell-hvega.cabal
--- a/ihaskell-hvega.cabal
+++ b/ihaskell-hvega.cabal
@@ -1,5 +1,5 @@
 name:                ihaskell-hvega
-version:             0.5.0.2
+version:             0.5.0.3
 synopsis:            IHaskell display instance for hvega types.
 description:         Support Vega-Lite visualizations in IHaskell notebooks.
 homepage:            https://github.com/DougBurke/hvega
@@ -8,7 +8,7 @@
 license-file:        LICENSE
 author:              Douglas Burke
 maintainer:          dburke.gw@gmail.com
-copyright:           2018-2020 Douglas Burke
+copyright:           2018-2022 Douglas Burke
 category:            Development
 build-type:          Simple
 extra-source-files:  README.md
@@ -22,7 +22,7 @@
   hs-source-dirs:      src
   exposed-modules:     IHaskell.Display.Hvega
   build-depends:       base >= 4.7 && < 5
-                     , aeson >= 0.11 && < 2.1
+                     , aeson >= 0.11 && < 2.2
                      , hvega < 0.13
                      , ihaskell >= 0.10 && < 0.11
                      , text >= 1.2 && < 2.1
