aboutsummaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-08 04:51:59 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-02-08 04:51:59 +0100
commit0c4cee8aa80f3793bd26ebccd2f60249a7c144fd (patch)
treeefa2d7e3c4f61090b04907c077ae7d2fd1d64067 /default.nix
parenta980a128c54dff021ec21478e60b5e241749d504 (diff)
add Git store
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix20
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;
+ };
+}