Move to the repository directory and run cabal install.
which for me results in different kinds of failure depending on which commit of the repo i have checked out:
when i'm on branch
main (currently at commit Merge pull request #1022 from exitmouse/build-fixes · tidalcycles/Tidal@077b65f · GitHub)
Error: cabal: Unknown target '.'. There is no component '.'. The project has no package directory '.'.
when i'm manually checking out
1406416 (which was the release of 1.9.3)
Error: cabal: Could not resolve dependencies: [__0] next goal: tidal (user goal) [__0] rejecting: tidal-1.9.4 (constraint from user target requires ==1.9.3) [__0] trying: tidal-1.9.3 [__1] next goal: transformers (dependency of tidal) [__1] rejecting: transformers-0.6.1.0/installed-0.6.1.0 (conflict: tidal => transformers>=0.5 && <0.6.1) [__1] skipping: transformers-0.6.1.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=0.5 && <0.6.1' from 'tidal') [__1] trying: transformers-0.6.0.6 [__2] next goal: mtl (dependency of tidal) [__2] rejecting: mtl-2.3.1/installed-2.3.1 (conflict: transformers==0.6.0.6, mtl => transformers==0.6.1.0/installed-0.6.1.0) [__2] trying: mtl-2.3.1 [__3] next goal: exceptions (dependency of tidal) [__3] rejecting: exceptions-0.10.7/installed-0.10.7 (conflict: mtl==2.3.1, exceptions => mtl==2.3.1/installed-2.3.1) [__3] trying: exceptions-0.10.7 [__4] trying: template-haskell-184.108.40.206/installed-220.127.116.11 (dependency of exceptions) [__5] trying: base-18.104.22.168/installed-22.214.171.124 (dependency of tidal) [__6] next goal: tidal-parse (user goal) [__6] rejecting: tidal-parse-0.0.1 (conflict: mtl==2.3.1, tidal-parse => mtl>=2.2.2 && <2.3) [__6] fail (backjumping, conflict set: mtl, tidal-parse) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: mtl, tidal, template-haskell, exceptions, transformers, tidal-parse, haskellish, base Try running with --minimize-conflict-set to improve the error message.
when checking out
3ac3200 (release of 1.9.4):
Error: cabal: Could not resolve dependencies: [__0] trying: tidal-1.9.4 (user goal) [__1] next goal: tidal-listener (user goal) [__1] rejecting: tidal-listener-0.1.0.0 (conflict: tidal==1.9.4, tidal-listener => tidal==1.9.3) [__1] fail (backjumping, conflict set: tidal, tidal-listener) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: tidal, tidal-listener
is there a way to build tidal-listener currently? and if yes, can i only use it with older versions of tidal?