1
0
mirror of https://github.com/h7x4/nix-attr-search.git synced 2024-12-22 03:57:32 +01:00

json2nix: ghc942 -> ghc924

Downgrade ghc compiler to support `nixos-22.05`
This commit is contained in:
Oystein Kristoffer Tveit 2022-11-26 21:08:14 +01:00
parent fddecffa02
commit d30a1093a3
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -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)