2022-11-26 05:14:14 +01:00
|
|
|
{ pkgs, ... }:
|
2022-11-26 20:50:22 +01:00
|
|
|
let
|
|
|
|
overlayedPkgs = pkgs.extend
|
2022-11-26 21:08:14 +01:00
|
|
|
(pkgs.callPackage ./haskell-overlay.nix { compiler = "ghc924"; });
|
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)
|