cudatoolkit: Replace vendored Qt plugins with symlinks#271923
cudatoolkit: Replace vendored Qt plugins with symlinks#271923ConnorBaker merged 1 commit intoNixOS:masterfrom
Conversation
|
Verified that this fixes #232458. Thanks! Excited to start using this. |
|
I think I fixed the indentation, but it's possible I made it worse :) PTAL |
|
@graham33 sorry about the merge conflicts! I just merged #256324. The file you'll want to edit now is https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/cuda-modules/cudatoolkit/default.nix. |
This resolves crashes in nsys-ui
Should be sorted now, hopefully! |
|
Note Template PR=271923; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.5" ]'; \
nixpkgs-review pr "$PR" \
--system "$SYSTEM" \
--no-shell \
--checkout commit \
--allow aliases \
--build-args "--max-jobs 1" \
--extra-nixpkgs-config "{
allowUnfree = true;
allowBroken = false;
cudaSupport = ${CUDA_SUPPORT:-false};
cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
}"
|
Requested changes have been made
|
I don't see anything concerning in the derivations which don't build, so I'm merging this. Thank you, Graham! |
Great thanks! |
This resolves crashes in nsys-ui
Description of changes
Although we remove most of the vendored Qt libraries in cudatoolkit (and use patchelf to ensure the Nix versions are picked up), there are still quite a lot of Qt plugin libraries that remain. These appear to be causing the
nsys-uicrashes reported in #232458 due to binary compatibility issues.Fixes #232458
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.