1
NixOS and Lemmy (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by ericjmorey@lemmy.world to c/selfhosted@lemmy.world

Anyone with experience using NixOS to create a Lemmy instance, please share any caveats and troubleshooting tips you have.

you are viewing a single comment's thread
view the rest of the comments
[-] neoney@lemmy.neoney.dev 0 points 1 year ago

Note that the PR got merged into nixpkgs now, but hasn't made it's way forward (see https://nixpk.gs/pr-tracker.html?pr=236295), so that's why you need to do the override for now Also, a fix for the issue with the migrations (if still occuring) has been merged yesterday, but it's not in any release yet, and especially not in nixpkgs. You could most likely get around it by using overrideAttrs to change the source to make it build from a newer commit.

[-] ericjmorey@lemmy.world 0 points 1 year ago

Is this sort of lag the nature of package managers that will inherently be part of NixOS and nixpk?

[-] neoney@lemmy.neoney.dev 0 points 1 year ago

While we were talking I updated lemmy-server using overrideAttrs for my own use. It's honestly not that hard. You change the commit, specify some random incorrect hashes, build it, nix screams at you that the hash is incorrect (and generously provides the correct one), put the correct hash, and build again. Done.

[-] ericjmorey@lemmy.world 1 points 1 year ago

That kinda defeats the purpose of the hash.

this post was submitted on 13 Jun 2023
1 points (100.0% liked)

Selfhosted

39272 readers
215 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS