Repository navigation
perf: clean up, fix compliance issue - #439229
Conversation
98a9966 to
09db235
Compare
There was a problem hiding this comment.
Could set non-redistributable when withLibbfd is enabled?
There was a problem hiding this comment.
Do we have a consistent position in Nixpkgs on whether meta.license is the license of the output or of the sources?
There was a problem hiding this comment.
There was some discussion about it in #106471, but it never came to a conclusion, so no, we don't.
09db235 to
cbf9c7c
Compare
cbf9c7c to
b10203b
Compare
This doesn't depend on a kernel version, and it's depended on by other tools that don't depend on a kernel version. They shouldn't have to reach into linuxPackages for an arbitrary kernel version to get it.
b10203b to
e2d200f
Compare
e2d200f to
5d9815b
Compare
There was a problem hiding this comment.
| perf = lib.warnOnInstantiate "linuxPackages.perf is now perf"; # Added 2025-08-28 | |
| perf = lib.warnOnInstantiate "linuxPackages.perf is now perf" pkgs.perf; # Added 2025-08-28 |
|
5d9815b to
1a3b05f
Compare
There's no reason for us to be packaging old versions of perf. You don't need to match it with a kernel version. Let's build it from the latest kernel sources, so it'll get kept up to date.
1a3b05f to
e0a33b0
Compare
There was a problem hiding this comment.
I'm a little confused. While the changes themselves look good and build, it seems as if we didn't have a libbfd-dependency for a while because of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd317df072071903031ab5f91b4823858445c4a0 ?
At least the store-path doesn't have any references to libbfd when building with withLibbfd=true; and I don't see any relevant diff when checking the contents with diffiscope.
Am I missing something?
|
Oh, cool, so we can just drop the input? |
Unused since upstream commit dd317df07207 ("perf build: Make binutil
libraries opt in").
Closes: NixOS#436678
e0a33b0 to
a972ce8
Compare
Closes: #436678
See commit messages for motivation.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.