New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pleroma-otp: init at 2.2.2 #103138
Pleroma-otp: init at 2.2.2 #103138
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/successful-pleroma-configuration-example/9871/8 |
Thanks for the feedback. Addressed and forced push. |
Just forced push a fix for some issues I noticed:
|
Hey there, I'm running a source-built version of Pleroma since a few months. A binary version is already a big improvement, but also feel free to use my source-built version if you can make it fit: |
Waaat, that's great news! Can I cherry pick your source build and default to it instead of this pleroma bindist half measure? I see v2.2.0 has just been released I'll bump that this weekend. |
I bumped my package to 2.2.0, but it's still running on Elixir 1.10, because it complained about |
Bumped the PR to pleroma latest 2.2.0 release. Ack @petabyteboy . To be franc, I don't really have any personal use of the elixir/otp ecosystem outside of Pleroma. I'm not really willing to invest a lot of the little hobby time I have in this ecosystem for now. Let's move on with the bindist for now and see if somebody is willing to improve the I wish I discovered your repo sooner, it'd have been very helpful. I just posted a comment on #62820 pointing to your source build to help with discoverability (in the secret hope to trigger more interest in upstreaming that :) ). Dear reader, feel free to review/test further this PR ;) |
Looks good to me, would love to see it merged :) |
I'm not sure what happened on ofborg here. The x86 test & aarch64 tests ran successfully but the x86 I've been running this PR for the last 3 months on my personal Pleroma instance without any issue. This PR also received an approval. I'm going to merge merge this in a week from now. If you have any objections, do holler now. |
Hello, I just tried to build with the files and got an interesting error
nix-prefetch-url gives the same result:
Can you confirm? |
Co-authored-by: flokli <flokli@flokli.de>
Adding a new pleroma NixOS module and its associated documentation. co-authored-by: duponin <duponin@locahlo.st>
Yup, I can confirm, thanks for the heads up! I forgot or failed the copy paste while updating to 2.2.2 on x86_64. The FOD did not fail on my computer since I had 2.2.1 with the correct hash in my nix-store. Maybe Ofborg was failing because of hash mismatch in the end. |
Thank you! Looking forward to the merge :) |
You might be interested to know that an initial effort has been started to package mix project. |
Motivation for this change
See #62820.
This PR provides:
pleroma-otp
package, the official pleroma binary distribution.nix-build -A nixosTests.pleroma
to run it).Some random notes:
pleroma-otp
is just a starting point, it'd be nice to compile the project from scratch ourselves in the future.toot
CLI. I'll try to upstream that patch. (Edit: login_cli: add TOOT_LOGIN_CLI_PASSWORD env variable ihabunek/toot#180)Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)