k3b: separate wrapper derivation to easily override cdrtools (e.g. with cdrkit) #44268
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit replaces the dependency on
cdrtools with a dependency on cdrkit.
The change affects the PATH seen by k3b (set by a wrapper);
k3b finds the required binaries by itself.
Advantage of cdrkit:
Based on experiment (by committer),
it permits writing optical media without superuser privileges.
Advantage of cdrtools:
It seems well supported and allows writing blu-ray media
(at least that's what the k3b feature list claims).
This commit should fix
#19154 .
Motivation for this change
Writing optical media should work without superuser privileges.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
): k3b fails with same error that also occurs without this commit, which is probably due to NixOS 18.03 environment:qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
nix path-info -S
before and after)cc @Phreedom @svanderburg