Skip to content

Comments

WIP: add nix flake#8765

Draft
laurentS wants to merge 155 commits intomysociety:developfrom
laurentS:nix-devenv
Draft

WIP: add nix flake#8765
laurentS wants to merge 155 commits intomysociety:developfrom
laurentS:nix-devenv

Conversation

@laurentS
Copy link
Contributor

@laurentS laurentS commented Jul 22, 2025

Relevant issue(s)

No related ticket

What does this do?

This (draft) PR adds a nix flake to provide a development environment for alaveteli.

This is not ready for merging, but I opened the PR for easier discussion. At this point, it should work well enough to provide a "full" dev env for alaveteli that should be reproducible (mostly, but probably not 100% bit-reproducible yet) with:

  • ruby and required gems
  • postgresql with migrations
  • redis
  • mailpit for reading outgoing emails

To try this:

  • clone the branch
  • follow instructions in README_NIX.md

Why was this needed?

Implementation notes

Screenshots

Notes to reviewer


Have you updated the changelog? If this is not necessary, put square brackets around this: skip changelog

Dates format changed from the debian format and breaks the
SyslogProtocol gem
works with current theme commit in deployment
so they don't confuse alaveteli's log ingestion process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant