From 325e8512ddf2c625e2b7995e4c35183e2a608f4c Mon Sep 17 00:00:00 2001 From: Tim Emiola Date: Fri, 18 May 2018 10:05:25 +0900 Subject: [PATCH] Reenable the github json fixture. This made possible by installing optparse-applicative override directly with cabal2nix instead of with github json file. The github json file approach does not work using as that causes an infinite recursion. (See https://github.com/adetokunbo/haskell-overridez/issues/27) --- fixtures/rokubanme-no-purojekuto/SKIP | 1 - fixtures/rokubanme-no-purojekuto/setup_test.sh | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 fixtures/rokubanme-no-purojekuto/SKIP diff --git a/fixtures/rokubanme-no-purojekuto/SKIP b/fixtures/rokubanme-no-purojekuto/SKIP deleted file mode 100644 index 7a2f274..0000000 --- a/fixtures/rokubanme-no-purojekuto/SKIP +++ /dev/null @@ -1 +0,0 @@ -bug: there is an infinite recursion when loading the nix project \ No newline at end of file diff --git a/fixtures/rokubanme-no-purojekuto/setup_test.sh b/fixtures/rokubanme-no-purojekuto/setup_test.sh index 3c7cfad..ff82026 100755 --- a/fixtures/rokubanme-no-purojekuto/setup_test.sh +++ b/fixtures/rokubanme-no-purojekuto/setup_test.sh @@ -7,10 +7,14 @@ setup_test() { pushd $this_dir > /dev/null HOZ_OPTS=dontCheck - haskell-overridez -g pcapriotti/optparse-applicative + + # Using -g with optparse-applicative causes infinite recursion + haskell-overridez https://github.com/pcapriotti/optparse-applicative + HOZ_OPTS=doJailbreak haskell-overridez -g Gabriel439/Haskell-Turtle-Library haskell-overridez -g Gabriel439/Haskell-Foldl-Library + haskell-overridez -g Gabriel439/Haskell-Managed-Library popd > /dev/null set +x