emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-tng-mode 6e938d0 230/385: workaround cabal bug


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 6e938d0 230/385: workaround cabal bug
Date: Tue, 5 Oct 2021 23:59:37 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 6e938d0321b9c6c0b62131bffb0535acc9055f2c
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>

    workaround cabal bug
---
 haskell-tng-hsinspect.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index 55a0727..31ba8ee 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -16,7 +16,11 @@
 ;; TODO automatically installing hsinspect under hsinspect-ghc-X
 
 (defcustom haskell-tng-hsinspect
-  '("cabal" "v2-exec" "-v0" "--")
+  ;; TODO https://github.com/haskell/cabal/issues/6182
+  ;;
+  ;; the optimisation level (and compiler) must match what the user typed or
+  ;; local packages aren't visible.
+  '("cabal" "v2-exec" "-v0" "-O0" "--")
   "Launch command for the `hsinspect' external tool."
   :type 'listp
   :group 'haskell-tng)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]