blob: 6bd2d86c6fe98f6d2ad212ef32f0a47ff49dde73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ 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
];
withHoogle = true;
withHaddock = true;
};
}
|