-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
modern-cpp-kafka: init at 2023.03.07 #251825
Conversation
# Patch build to avoid overwriting include path | ||
# PR: https://github.com/morganstanley/modern-cpp-kafka/pull/221 | ||
owner = "ditsuke"; | ||
rev = "build/avoid-overwriting-include-path"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use the upstream version of this project anyway and add your patches via the patches
? Or, since your PR is still very young, maybe just wait a bit and see if they accept it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build won't work without it, but I've added it as a patch for now.
nativeBuildInputs = [ cmake ]; | ||
|
||
buildPhase = '' | ||
cmake . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calls to cmake
, which is a configuration tool, do not belong into the buildPhase.
Do you intent to just provide the headers with this library, or do you also plan to ship compiled library files also? For only header files, you may not even need a configuration phase. But that should be handled by having cmake
in nativeBuildInputs
already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just the headers
7ba7bb7
to
9c6bc60
Compare
Oh and one more thing, can you change the commit message ( and the PR title) to |
9c6bc60
to
e78f9fc
Compare
A few things are still left.
From here it gets pedantic, but we want to keep the commit history in a good quality:
After that it should be good to go. |
b4e3293
to
f8c3904
Compare
@nagy split and reworded the maintainer commit, I hope it's good to go now |
The commit message is still "kakfa" . After that, its good. |
f8c3904
to
29d2997
Compare
Whoops, sorry about that. Good to go |
29d2997
to
568c127
Compare
Result of 1 package built:
|
Description of changes
Adds a derivation for modern-cpp-kafka.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)