BootTidal.hs path for install on Emacs on MacOs


having just installed TidalCycles on a Mac and run it with Pulsar, I
am looking to use it on EMACS as well. The online documentation

says that the path should be set as follows:

(setq tidal-boot-script-path "~/.cabal/share/x86_64-osx-ghc-8.8.4/tidal-1.7.4/BootTidal.hs")

But I have no ~/.cabal/ folder because I had installed Haskell with homebrew.

Where should I look for the BootTidal.hs file?


Iannis Zannos

Hi Iannis, I had the exact same problem yesterday. The solution I came up with was to create the file, put it somewhere and then simply use that path.

Hi durandal, I tried that solution already, but it did not work for me: tidal misses some Haskell libraries, so BootTidal.hs throws errors.

<no location info>: error: [GHC-87110]
    Could not load module ‘Sound.Tidal.Context’.
    It is a member of the package ‘tidal-1.9.4-7HbCfOnytfZ7DKu5P4GAny’
    which is unusable due to missing dependencies:
      base- bytestring- clock-0.8.4-IzY67dA0ddPLttdlEPXATC colour-2.3.6-3SpkqYzeyjWDO6CyEHHo6t containers-0.6.8-9a73 deepseq- exceptions-0.10.7-69a4 hosc-0.20-FzBsswQZImCDvQewvfs3nQ mtl-2.3.1-aa9c network- parsec- primitive- random- text-2.1-0f57 tidal-link-1.0.2-1vZiGPlunYg6swm3kGU3Lk transformers-

cleary gave me a tip for finding the boot file:

find ~ -iname "boottidal.hs"

I'm going to try this now, and report if it works.


Hi durandal,
PS: the error when using BootTidal.hs from the wrong path is actually:

GHCi, version 9.8.1:  :? for help
<no location info>: error: [GHC-61948]
    Could not find module ‘Sound.Tidal.Boot’.
    Perhaps you meant

This is when trying to use BootTidal.hs from .config/emacs/local/straight/repos.


Both paths where BootTidal.hs was found did not work.


In both cases, ghci missis some dependencies.

I will reinstall tidal after removing both of the above directories, and try again.

Iannis Zannos

My bit of .emacs looks like:

(require 'package)
(add-to-list 'package-archives '("melpa" . "")  '("marmalade" . "") )

;;tidal initialisation

(setq load-path (cons "~/tidal/" load-path))
(setq tidal-boot-script-path "~/tidal/BootTidal.hs")
(require 'tidal)
(setq tidal-interpreter "/Users/name/.ghcup/bin/ghci")