-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
linuxPackages.bcc: make it useable as a python library #40426
Conversation
done | ||
''; | ||
|
||
postFixup = '' | ||
wrapPythonProgramsIn "$out/share/bcc/tools" "$out $pythonPath" |
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.
deadlock-detector is still broken because of this: #40427
@GrahamcOfBorg build linuxPackages.bcc |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.bcc Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.bcc Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: linuxPackages.bcc Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.bcc Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.bcc Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: linuxPackages.bcc Partial log (click to expand)
|
@teto anything I miss out here? |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: linuxPackages.bcc Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.bcc Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: linuxPackages.bcc Partial log (click to expand)
|
postPatch = '' | ||
substituteAll ${./libbcc-path.patch} ./libbcc-path.patch | ||
patch -p1 < libbcc-path.patch | ||
''; |
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.
I find the https://github.com/NixOS/nixpkgs/pull/41196/files#diff-c74e966bd35a02adf1e310fbcf2c8dd5R36 easier to maintain/read/understand.
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.
It is easier to understand but it can also silently break after updates. I added this patch so when updating bcc we can be sure it still replaces the right thing.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)