From d30a1093a36e5a0f32d5e22bf50883c0066fd488 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sat, 26 Nov 2022 21:08:14 +0100 Subject: [PATCH] json2nix: `ghc942` -> `ghc924` Downgrade ghc compiler to support `nixos-22.05` --- internals/json2nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internals/json2nix/default.nix b/internals/json2nix/default.nix index 81d35c6..7e50818 100644 --- a/internals/json2nix/default.nix +++ b/internals/json2nix/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: let overlayedPkgs = pkgs.extend - (pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc942"; }); + (pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc924"; }); in overlayedPkgs.writers.writeHaskellBin "json2nix" { libraries = with overlayedPkgs.haskellPackages; [ aeson nixfmt extra text ]; } (builtins.readFile ./json2nix.hs)