Skip to content

how to find tidal's data-dir (for BootTidal.hs) #47

@jwaldmann

Description

@jwaldmann

recent ghc/cabal use "environment files", so that this does no longer works:

ghc-pkg field  tidal data-dir
==>
ghc-pkg: cannot find package tidal

and that's what I see after

python run-client.py --mode=TidalCycles

This works (source: https://github.com/tidalcycles/Tidal/blob/master/tidal.el#L69)

ghc-pkg field -f ~/.cabal/store/ghc-$(ghc --numeric-version)/package.db tidal data-dir
==>
data-dir: /home/waldmann/.cabal/store/ghc-8.8.3/tidal-1.4.8-bd176be4c94cf8efad3cce89b1e0cca21d9c99d367393ed31b94deb43da4f207/share

so how do I tell Troop about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions