tidalcycles / pulsar-tidalcycles

Pulsar plugin for TidalCycles

Home Page:https://web.pulsar-edit.dev/packages/tidalcycles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"ghc-pkg field tidal data-dir" does not work anymore

ndr-brt opened this issue · comments

In the startup process when there's no custom BootTidal path and no BootTidal.hs file in the current directory, the plugin tries to load it from tidal installation.

But this error appears:

> cannot get tidal installation folder Error: Command failed: "/home/andrea/.ghcup/bin/ghc-pkg" field tidal data-dir
ghc-pkg: cannot find package tidal

same if I try to exec the command from the terminal:

ghc-pkg field tidal data-dir

I get

ghc-pkg: cannot find package tidal

but tidal is installed

Tried to pass through cabal but, if I execute cabal list tidal I get:

* tidal
    Synopsis: Pattern language for improvised music
    Default available version: 1.7.8
    Installed versions: [ Not installed ]
    Homepage: http://tidalcycles.org/
    License:  GPL-3

why it's labeled as "Not installed"?

watching inside the folder ~/.ghcup/ghc/9.0.1/lib/ghc-9.0.1/package.conf.d/
there's a .conf file for every package listed by ghc-pkg list, and tidal is missing

actually seems to work now, tested with ghc 9.0.2 and 9.4.4