Skip to content

Commit

Permalink
cq-editor: Use qt5.15 completely.
Browse files Browse the repository at this point in the history
Don't mix qt5.14 and pyqt5 which uses qt5.15 (NixOS#99956).

(cherry picked from commit 16c2b3c)
  • Loading branch information
doronbehar authored and FRidh committed Oct 13, 2020
1 parent b8ba7b4 commit c16a20f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/graphics/cq-editor/default.nix
Expand Up @@ -2,6 +2,7 @@
, mkDerivationWith
, python3Packages
, fetchFromGitHub
, wrapQtAppsHook
}:

mkDerivationWith python3Packages.buildPythonApplication rec {
Expand All @@ -27,8 +28,9 @@ mkDerivationWith python3Packages.buildPythonApplication rec {
requests
];

postFixup = ''
wrapQtApp "$out/bin/cq-editor"
nativeBuildInputs = [ wrapQtAppsHook ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

checkInputs = with python3Packages; [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Expand Up @@ -19908,7 +19908,7 @@ in

coyim = callPackage ../applications/networking/instant-messengers/coyim {};

cq-editor = libsForQt514.callPackage ../applications/graphics/cq-editor {
cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor {
python3Packages = python37Packages;
};

Expand Down

0 comments on commit c16a20f

Please sign in to comment.