-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
packaging: Add Nix files for creating development environment and the package #3889
Conversation
816549f
to
1efcc84
Compare
@neteler , I think, this PR is good to go now. |
acc20f3
to
2fa1f99
Compare
@wenzeslaus what PR prefix is appropriate? Should this one be added too? Nix? Build? |
I changed commit prefix to |
Perfect! |
And here we go, |
Isn't the |
I think this kind of version detection from git can't work for Nix package. |
If git and the git repo is available at configure time, it should be detected. Otherwise there were some changes made this winter/early spring for helping with reproducible builds |
That's the issue. Git is not available during the build. |
Add couple of Nix files which will allow following:
Nix installation
(learn more about this installer)
GRASS development environment
direnv
to activate the environment automatically whenmoving to the source code directory
Running GRASS directly from the source code
main
branchUsage documentation will be added to https://grasswiki.osgeo.org/wiki/Compile_and_Install