blob: b123f313a3f25ad2e1a53cd3a3a8bc771e9538c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ pkgs ? import <nixpkgs> { } }:
let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
json2sql = self.callCabal2nix "json2sql" ./. { };
};
};
in
rec {
inherit (haskellPackages) json2sql;
shell = haskellPackages.shellFor {
packages = _: [ json2sql ];
buildInputs = [
haskellPackages.cabal-install
haskellPackages.ormolu
pkgs.pkg-config
];
withHoogle = true;
withHaddock = true;
};
}
|