-
Notifications
You must be signed in to change notification settings - Fork 298
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
Minor improvements to Nix expresions #939
Conversation
This essentially passes -j {cores} to make: $ nix-build --cores 4
Is there any way we could avoid the |
I'm open for suggestions, but in Nix we can't depend on .git since nix hash
|
How about if I see a few issues with trying to bake everything into the
|
I agree we should make
It's possible to avoid this in Nix, but for every git checkout I need to explicitly specify the version. Not the end of the world, but also quite tedious. That being said, I'll accept if we remove |
I'd like to see consensus about what to do about version handling before merging this. |
Nix expressions will always just set it according to source, but let's still provide a default for convenience.
@kbara we decided not to hardcode due to the forking workflow, which would be very confusing for downstream. Instead, we'll just provide the version manually based from where Snabb will be imported. Ready for review :) |
Aha - this fails due to problems with davos/CI. |
@kbara |
LGTM, thanks for this. Merged into kbara-next, PR'd for next. |
Snabb config multiprocess support
See commits for summary.
@eugeneia should we document somewhere that
.version
needs to be bumped on each release?cc @kbara