From 58115dd07f13be1f62fae0048fe984dea5aaf0a2 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 3 May 2020 23:39:32 -0700
Subject: [PATCH] Try using -fexternal-interpreter to avoid access violation on
 Windows CI.

---
 stack.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stack.yaml b/stack.yaml
index a6957cdc9..0e2f243a3 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -23,4 +23,6 @@ extra-deps:
 - doctemplates-0.8.2
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
+   # needed to avoid access violation on windows:
+   HsYAML: -fexternal-interpreter
 resolver: lts-15.11