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