NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.21k stars 13.49k forks source link

Update request: plausible: 2.0.0 → 2.1.0 #314768

Open stepbrobd opened 3 months ago

stepbrobd commented 3 months ago

Notify maintainers

@xanderio

Note for maintainers: Please tag this issue in your PR.

Seems like there are couple breaking changes:

Release note: https://github.com/plausible/analytics/releases/tag/v2.1.0

Add a :+1: reaction to issues you find important.

xanderio commented 2 months ago

@blaggacao has already started working on this, but is currently block by https://github.com/philss/rustler_precompiled/issues/71

xanderio commented 2 months ago

I'm currently trying to get the rust part of mjml to build a rustler to find an recognize this. Rustler itself seams to be a unsolve problem in nixpkgs, I thing we need deeper integration in nixpkgs similar to what python already has.

@happysalada do you have any idea how to achieve this, I'm at the end of my current understanding of the elixir infra inside nixpkgs.

nixos-discourse commented 2 months ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/elixir-rustler-integration-in-nixpkgs/48254/1

happysalada commented 2 months ago

I havent looked at this in years, but the principle is similar in every lamguage. During the python build process there is a rust build function called maturin that runs. With ruslter, its similar if i remember correctly. Each dependency has a build script, so its about overriding the dependencies for that particular dependency, adding what is needed to compile rust and moving the resulting object in the right place. I know this is very vague, but its the best i have unfortunately, i am a little time constrainted at the moment.