json2nix: ghc942
-> ghc924
Downgrade ghc compiler to support `nixos-22.05`
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
overlayedPkgs = pkgs.extend
|
overlayedPkgs = pkgs.extend
|
||||||
(pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc942"; });
|
(pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc924"; });
|
||||||
in overlayedPkgs.writers.writeHaskellBin "json2nix" {
|
in overlayedPkgs.writers.writeHaskellBin "json2nix" {
|
||||||
libraries = with overlayedPkgs.haskellPackages; [ aeson nixfmt extra text ];
|
libraries = with overlayedPkgs.haskellPackages; [ aeson nixfmt extra text ];
|
||||||
} (builtins.readFile ./json2nix.hs)
|
} (builtins.readFile ./json2nix.hs)
|
||||||
|
Reference in New Issue
Block a user