diff --git a/nix/tools/tests.nix b/nix/tools/tests.nix index d661b398a..08521b50b 100644 --- a/nix/tools/tests.nix +++ b/nix/tools/tests.nix @@ -41,12 +41,6 @@ let withEnv = postgrest.env; } '' - # For unknown reasons, doctests uses the wrong GHC package database outside - # nix-shell and fails, so we set the package path explicitly - #ghcWithPackages="$(cat ${postgrest.env})" - #ghcVersion="$(ls "$ghcWithPackages/lib")" - #export GHC_PACKAGE_PATH="$ghcWithPackages/lib/$ghcVersion/package.conf.d/" - ${cabal-install}/bin/cabal v2-run ${devCabalOptions} test:doctests ''; diff --git a/update-ghc b/update-ghc new file mode 160000 index 000000000..e2b67233f --- /dev/null +++ b/update-ghc @@ -0,0 +1 @@ +Subproject commit e2b67233f76e45269e3da41f59caaf7ab8fd75b0