From b22bb748f224110742bac2272ae863d73177aa42 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 11 Feb 2024 11:38:53 +0100 Subject: [PATCH] nix: Remove left-over commented out code in postgrest-test-doctests This seems to be commented out for a while already, but nobody reported problems, so far. --- nix/tools/tests.nix | 6 ------ update-ghc | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) create mode 160000 update-ghc 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