Comments (7)
After a quick look I'm not too sure off the top of my head 🤔
Curiously, while nix build .#tidal-listener
fails, doing nix develop
and then cd tidal-listener && cabal run
appears to work without issue. This does indicate there's some kind of impurity in the non-nix cabal build
approach that we're not capturing in the tidal-listener
flake package output.
Could you elaborate on the need for --dymanic
you mentioned? Does cabal try to link to a system dynamic libs while building tidal-listener
or something?
from tidal.
I kept your --dynamic
hint in mind and had a look at tidal-listener.cabal
file.
It looks like commenting out these ghc-options: -dynamic-too
lines in the tidal-listener.cabal
file allows nix build .#tidal-listener
to work without issue.
Tidal/tidal-listener/tidal-listener.cabal
Lines 37 to 38 in 5d20eec
The reason it was added appears to be something to do with haskell-lint
? This issue is linked above:
@polymorphicengine it looks like that issue has since been closed, but I'm unfamiliar with haskell-hint - are we able to remove the -dynamic-too
ghc option? If so that would make this an easy fix 😄
from tidal.
i'm not completely sure, but i think the dynamic flag
should be enough, i only found this fix through experimenting and it might well be that i added the dynamic-too
flag without good reason..
it is very hard to verify though, since a successful build will not mean it working automatically...
someone with nix would have to try it out for us
from tidal.
I can confirm that removing the -dynamic-too
ghc option makes it possible to build and run tidal-listener
successfully with Nix (on linux at least). Or were you referring to checking that haskell-hint
continues to work?
from tidal.
yes, not sure if hint
will still work,..
on that note i'm not sure if any of the builds actually would work with the dynamic flag,
i think we are at a state where if someone wants to use tidal-listener they have to compile themselves anyways (using the dynamic flag)
this whole issue is unfortunately very confusing and i'm pretty much at the end of my wits (see the now closed immense issue on the hint github)
from tidal.
We already disable Nix tidal-listener
builds for unstable 2.0 Tidal. Should we also disable them for 1.9 and leave it at that?
(For what it's worth, I've been learning how to implement new programming languages partially in order to avoid learning how hint works 🙂)
from tidal.
(For what it's worth, I've been learning how to implement new programming languages partially in order to avoid learning how hint works 🙂)
nice! not to discourage, but writing our own interpreter would be quite an immense effort (unless we introduce some big restrictions, like in estuary tidal where every function basically becomes a keyword)
anyways, if you like to talk about it sometime hit me up :)
from tidal.
Related Issues (20)
- Aliases / renaming of some conditionals
- Cycle status monitor
- Executable name conflict of "linktest"
- midinote problem with xfade / xfadeIn
- Cannot build on ghc 9.8.1 HOT 3
- Transitions are broken HOT 1
- Reimplementing event highlighting in tidal-listener HOT 2
- Arbitrary Tempo Callback HOT 1
- Add dagoarp HOT 1
- bug with 'bite' and '@' in mininotation HOT 8
- Link not working on recent OSX versions HOT 7
- Link enabled state should be mutable HOT 1
- Possible edit for the docs - MIDI HOT 1
- randrun is non-random at time 0
- euclidOff is different from euclidOffBool
- (surprising/inconsistent) handling of begin/end attributes in slice
- timeToRands produces constant sequence if seed is 0 => replace tidal's random mechanism with System.Random?
- more efficient implementation of runMarkov
- `tidal-parse` not resolving in Stack HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tidal.