-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat(nix): add comprehensive Nix flake #4826
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
base: master
Are you sure you want to change the base?
Conversation
chore: move vendor/ -> vendor_lg/
…into feature/nix-flake
I know next to nothing about Nix, and in particular I don't know what Nix flakes are. I don't really want to spend time on learning more about that, either. However, I would have to understand things a little better in order to judge if the PR is good and can be merged. So what can we do? I see that our current README.md already says something about flakes (here), but I don't understand what it means. Would this have to be changed with your PR? Any people reading here who are more familiar with Nix and can help review this? |
It seems that someone has already uploaded I will update the README.md to include information about the local nix flake. In summary this will allow people that use nix to run your project in an ephemeral shell, install it, and even have a fully setup dev env with go and other dependencies managed by nix. This will be an official flake that is fully featured while the one on nixpkgs is maintained by others and will either follow the 20.05 or unstable channel. |
PR Description
This PR adds Nix flake support to provide a reproducible development environment and build process for
lazygit
contributors, devs, and users.Features:
nix develop
,nix run
, andnix build
Please check if the PR fulfills these requirements
n/a as this PR doesn't modify go files.
go generate ./...
)