Comments (15)
@caryoscelus it does seem like foreign imports are supported, but not exports. This should be okay, I will get back to you as to how long it would take to update.
from miso.
It is an issue yea, but nixpkgs might not have the old GHCJS (which just happens to be the most stable). So upgrading isn't an option it seems until the latest GHC supports FFI for its new JS / WASM backends.
from miso.
Just tried it, and it built!
Not sure if you want to keep this open or not since its solved for me, but it might save someone else some time who decides to try it during this weird interim state.
from miso.
@dmjio for my purposes i want to be able to build everything myself so different cache doesn't make much difference. right now i'm still evaluating whether to use Haskell&Miso or PureScript, though, since latter seems to have easier support for 'advanced' browser features (WebRTC, IndexedDB)
from miso.
Are you using cachix
as described in README.md ? Using the cached deps. is usually a better experience.
from miso.
Ah, no, I don't think so. This was a new machine and I haven't set up cachix on it.
I'll try that and report back, hopefully that will unblock me. Though this still seems like an issue?
from miso.
@joelmccracken definitely let me know if cachix does / doesn't work for you. Cheers 🍻
from miso.
Let’s just hope Google indexes it for others ;)
feel free to join the slack if you have additional questions.
https://haskell-miso.slack.com/
from miso.
Can I get an invitation? It seems that to create an account I need to have a @haskell-miso.com email address
from miso.
i've just run into this issue and honestly i don't find using binary cache can be considered a solution. is there any other possible workaround? (i'm fairly new to nix inner workings, but i'm sure it should be possible to extract required ghcjs package and update it to not use git://
)
if there's no workaround, what is the estimate of new ghcjs with necessary features being available?
from miso.
Using the binary cache is the fix for now. Regarding when miso will be updated to use the new JS / wasm backend I think it depends on when FFI is supported, among other things (template Haskell).
from miso.
@caryoscelus https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend#current-status-and-supported-features
from miso.
Using the binary cache is the fix for now
unfortunately that sounds like the whole setup is effectively not fully open source :(
https://gitlab.haskell.org/ghc/ghc/-/wikis/javascript-backend#current-status-and-supported-features
thanks
from miso.
There’s no corporate pay wall, but if you build at the old hash with the old version of nix it should be reproducible.
from miso.
@caryoscelus If you'd prefer we can use our own binary cache, with our own s3 bucket and sign our own packages - cachix just makes this more convenient and our closure fits in the free tier. Furthermore, there are plans to upgrade, it's just that the JS backend has no binary distributions yet, so users would need to build / maintain their own GHC.
from miso.
Related Issues (20)
- miso jsaddle is broken with 1.8 (at least in firefox) HOT 6
- TouchList not properly parsed, SVG example broken HOT 6
- sample-app won't build HOT 5
- sample-app-jsaddle description refers to a non-existing module
- Building the example project takes 8GB of RAM, is this expected? HOT 5
- Ability to inform miso of external DOM updates? HOT 3
- nix-build command fails on ghcjs-base checkout HOT 2
- Nix-Build Error HOT 3
- nix-build of the sample app throws error: cannot coerce null to a string HOT 3
- miso uses an old GHCJS version that relies on git:// which was disabled on github. HOT 3
- Using miso without isomorphic feature, but with optimizations - possible? HOT 2
- Nix refuses to build Miso, throwing exit code 137 HOT 3
- Unable to join the Miso Slack
- GHC WebAssembly/JS backend support HOT 9
- `miso` disappeared from Stackage LTSs HOT 3
- Broken Links to Slack and IRC on Miso Website HOT 1
- Make my runner game an example HOT 2
- New example application HOT 1
- sample-app won't build 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 miso.