-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Labels
0.kind: bugSomething is brokenSomething is broken3.skill: sprintableA larger issue which is split into distinct actionable tasksA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: qt/kdeObject-oriented framework for GUI creationObject-oriented framework for GUI creation9.needs: clean-upSomebody please clean up this mess!Somebody please clean up this mess!
Description
Describe the bug
a. The Qt mkDerivation function provided by qt does not support overlay-style package definitions.
b. The Qt mkDerivation function is over-engineered because it only adds wrapQtAppsHook to nativeBuildInputs. A "hierarchy" of mkDerivation functions does not compose.
Steps To Reproduce
a.
- Start a package definition with
mkDerivation (finalAttrs:wheremkDerivationisn'tstdenv.mkDerivationbut the one provided by the qt expressions. - Eval error
b.
- Write a Haskell or Python package that uses qt
- Can't use qt's
mkDerivationas we need to use a language specificmkDerivation.
Expected behavior
Just call stdenv.mkDerivation and add wrapQtAppsHook. Many packages already do this anyway (resulting in duplicate hooks; apparently harmless?).
Deprecate qt mkDerivation.
Alternatively, add support for overlay-style mkDerivation in mkDerivation, solving only (a).
Screenshots
Additional context
Example
Notify maintainers
@NixOS/qt-kde
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output hereReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken3.skill: sprintableA larger issue which is split into distinct actionable tasksA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: qt/kdeObject-oriented framework for GUI creationObject-oriented framework for GUI creation9.needs: clean-upSomebody please clean up this mess!Somebody please clean up this mess!
Projects
Status
In progress