-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
Initial nix #12347
base: master
Are you sure you want to change the base?
Initial nix #12347
Conversation
Hi @syntacticsagar , thank you 👍 @openfoodfoundation/core-devs any feedback on this? |
@sigmundpetersen the core idea is to make onboarding experience for contributors as smooth as possible. Once the PR is done, this is what the experience would look like:
|
Slightly off-topic to the main PR: Another idea is to modularise the codebase using the |
Thank you @syntacticsagar |
How is that different from something like Docker ? re |
Thanks for the feedback and questions @rioug. Will check out the video about light engines.
Well, first off nix is a package manager. So the problem this solves is different to what Docker solves which is to have a reproducible run-time environment. There's more details in this article: https://numtide.com/blog/nix-docker-or-both/ The crux of this PR is to make it super easy for devs to set up their local environment. If one dev is able to set it up, then the next shouldn't need to struggle with the same issues. And that's where nix is super handy. Say you're working on a couple of different projects with different postgres versions or glibc versions, it's difficult to converge on a standard toolset across OSs that will easily allow you to contribute effectively to all of them. Nix solves that problem quite well. Let me know if you have any further questions. |
What? Why?
What should we test?
Release notes
Changelog Category (reviewers may add a label for the release notes):
The title of the pull request will be included in the release notes.
Dependencies
Documentation updates