Skip to content

Commit 59fe608

Browse files
committed
Updated for Cabal 3's need to be pointed to package.db. Fixes tidalcycles#583.
Breaks older versions of ghc I guess, and also does not address Windows systems. And what if libraries are not under user's home directory? Checks of success of the shell command would be good.
1 parent bdbe6ee commit 59fe608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidal.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
("separator" . "\\")
6666
))
6767
((or (string-equal system-type "darwin") (string-equal system-type "gnu/linux"))
68-
'(("path" . "ghc-pkg describe $(ghc-pkg latest tidal) | grep data-dir | cut -f2 -d' '")
68+
'(("path" . "ghc-pkg describe -f ~/.cabal/store/ghc-$(ghc --numeric-version)/package.db tidal | grep data-dir | cut -f2 -d':'")
6969
("separator" . "/")
7070
))
7171
)

0 commit comments

Comments
 (0)