Skip to content

Commit

Permalink
amphetype: fix qt wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and rycee committed Apr 6, 2024
1 parent 6cc8dbb commit bfa0e69
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pkgs/by-name/am/amphetype/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,26 @@ in python3Packages.buildPythonApplication {
hash = "sha256-pve2f+XMfFokMCtW3KdeOJ9Ey330Gwv/dk1+WBtrBEQ=";
};

nativeBuildInputs = [ copyDesktopItems qt5.wrapQtAppsHook ];

buildInputs = [
qt5.qtbase
qt5.qtwayland
];

propagatedBuildInputs = with python3Packages; [
editdistance
pyqt5
translitcodec
];

doCheck = false;
dontWrapQtApps = true;

nativeBuildInputs = [ copyDesktopItems qt5.wrapQtAppsHook ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

doCheck = false;

desktopItems = [
(makeDesktopItem {
Expand Down

0 comments on commit bfa0e69

Please sign in to comment.