2022-11-29 15:31:48 +01:00
|
|
|
{ pkgs, compiler ? "ghc924", ... }:
|
2022-11-26 20:50:22 +01:00
|
|
|
let
|
2022-11-29 15:31:48 +01:00
|
|
|
overlayedPkgs =
|
|
|
|
pkgs.extend (pkgs.callPackage ./haskell-overlay.nix { inherit compiler; });
|
2022-11-26 20:50:22 +01:00
|
|
|
in overlayedPkgs.writers.writeHaskellBin "json2nix" {
|
|
|
|
libraries = with overlayedPkgs.haskellPackages; [ aeson nixfmt extra text ];
|
2022-11-26 05:14:14 +01:00
|
|
|
} (builtins.readFile ./json2nix.hs)
|