about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/non-hackage-packages.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-08-15 15:48:53 +0200
committerlassulus <lassulus@lassul.us>2021-08-16 19:51:58 +0200
commitd07be4c5cb9c4cdbe41635f8a7a468a62c85f2e7 (patch)
tree51b1e26f6ad8796b95d3373e82af18b1a5153630 /pkgs/development/haskell-modules/non-hackage-packages.nix
parent3b1a6b95d482d6380cb5cd7ebe250dc5170294b3 (diff)
haskellPackages.graphql-engine: update to 2.0.5 + refactor
Diffstat (limited to 'pkgs/development/haskell-modules/non-hackage-packages.nix')
-rw-r--r--pkgs/development/haskell-modules/non-hackage-packages.nix21
1 files changed, 13 insertions, 8 deletions
diff --git a/pkgs/development/haskell-modules/non-hackage-packages.nix b/pkgs/development/haskell-modules/non-hackage-packages.nix
index 6bbcabbf5a5ec..48ee2ee3a474f 100644
--- a/pkgs/development/haskell-modules/non-hackage-packages.nix
+++ b/pkgs/development/haskell-modules/non-hackage-packages.nix
@@ -26,14 +26,19 @@ self: super: {
 
   nix-output-monitor = self.callPackage ../../tools/nix/nix-output-monitor { };
 
-  # cabal2nix --revision <rev> https://github.com/hasura/ci-info-hs.git
-  ci-info = self.callPackage ../misc/haskell/hasura/ci-info {};
-  # cabal2nix --revision <rev> https://github.com/hasura/pg-client-hs.git
-  pg-client = self.callPackage ../misc/haskell/hasura/pg-client {};
-  # cabal2nix --revision <rev> https://github.com/hasura/graphql-parser-hs.git
-  graphql-parser = self.callPackage ../misc/haskell/hasura/graphql-parser {};
-  # cabal2nix  --subpath server --maintainer offline --no-check --revision 1.2.1 https://github.com/hasura/graphql-engine.git
-  graphql-engine = self.callPackage ../misc/haskell/hasura/graphql-engine {};
+  # hasura graphql-engine is not released to hackage.
+  # https://github.com/hasura/graphql-engine/issues/7391
+  #
+  # pg-client and graphql-engine depend on a hasura fork of resource-pool
+  # which is provided by pool.nix
+  ci-info = self.callPackage ../misc/haskell/hasura/ci-info.nix {};
+  pg-client = self.callPackage ../misc/haskell/hasura/pg-client.nix {
+    resource-pool = self.callPackage ../misc/haskell/hasura/pool.nix {};
+  };
+  graphql-parser = self.callPackage ../misc/haskell/hasura/graphql-parser.nix {};
+  graphql-engine = self.callPackage ../misc/haskell/hasura/graphql-engine.nix {
+    resource-pool = self.callPackage ../misc/haskell/hasura/pool.nix {};
+  };
 
   # Unofficial fork until PRs are merged https://github.com/pcapriotti/optparse-applicative/pulls/roberth
   # cabal2nix --maintainer roberth https://github.com/hercules-ci/optparse-applicative.git > pkgs/development/misc/haskell/hercules-ci-optparse-applicative.nix