diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-02-08 04:51:59 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-02-08 04:51:59 +0100 |
commit | 0c4cee8aa80f3793bd26ebccd2f60249a7c144fd (patch) | |
tree | efa2d7e3c4f61090b04907c077ae7d2fd1d64067 /default.nix | |
parent | a980a128c54dff021ec21478e60b5e241749d504 (diff) |
add Git store
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..6bd2d86 --- /dev/null +++ b/default.nix @@ -0,0 +1,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; + }; +} |