Files
nix-attr-search/internals/json2nix/default.nix
h7x4 d30a1093a3 json2nix: ghc942 -> ghc924
Downgrade ghc compiler to support `nixos-22.05`
2022-11-26 21:08:14 +01:00

8 lines
289 B
Nix

{ pkgs, ... }:
let
overlayedPkgs = pkgs.extend
(pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc924"; });
in overlayedPkgs.writers.writeHaskellBin "json2nix" {
libraries = with overlayedPkgs.haskellPackages; [ aeson nixfmt extra text ];
} (builtins.readFile ./json2nix.hs)