Merge pull request #174946 from milahu/qt6-wrapQtAppsHook-remove-qtwayland

qt6.wrapQtAppsHook: remove dependencies: qtbase qtwayland
This commit is contained in:
Sandro
2022-05-30 23:46:18 +02:00
committed by GitHub
3 changed files with 11 additions and 4 deletions
@@ -9,6 +9,7 @@
, wrapQtAppsHook
, extra-cmake-modules
, qtbase
, qtwayland
, qtsvg
, qtimageformats
, qt5compat
@@ -112,6 +113,7 @@ env.mkDerivation rec {
buildInputs = [
qtbase
qtwayland
qtsvg
qtimageformats
qt5compat
+2 -3
View File
@@ -83,9 +83,8 @@ let
qtwebsockets = callPackage ./modules/qtwebsockets.nix { };
qtwebview = callPackage ./modules/qtwebview.nix { };
wrapQtAppsHook = makeSetupHook
{
deps = [ self.qtbase.dev self.qtwayland.dev makeWrapper ];
wrapQtAppsHook = makeSetupHook {
deps = [ makeWrapper ];
} ./hooks/wrap-qt-apps-hook.sh;
};
+7 -1
View File
@@ -4,6 +4,8 @@
, cmake
, qttools
, wrapQtAppsHook
, qtbase
, qtwayland
, qtsvg
}:
@@ -22,7 +24,11 @@ stdenv.mkDerivation rec {
wrapQtAppsHook
];
buildInputs = [ qtsvg ];
buildInputs = [
qtbase
qtwayland
qtsvg
];
postInstall = lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications