nix-attr-search/internals/json2nix/default.nix

8 lines
289 B
Nix
Raw Normal View History

{ 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)