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.perf: use prefix instead of DESTDIR #38682
Conversation
Otherwise the build system computes incorrect references and looks for perf-core in /libexec. DESTDIR for normal buildsystems is never the right choice for nixpkgs.
I have only tested |
@GrahamcOfBorg build linuxPackages.perf |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: linuxPackages.perf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: linuxPackages.perf Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: linuxPackages.perf 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.perf Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: linuxPackages.perf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: linuxPackages.perf Partial log (click to expand)
|
Rebuild of all perf builds was successful. |
18.03: [detached HEAD 1c52531] linuxPackages.perf: use prefix instead of DESTDIR |
Otherwise the build system computes incorrect references and looks for
perf-core in /libexec. DESTDIR for normal buildsystems is never the
right choice for nixpkgs.
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)