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
commit 765a6aba57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View file

@ -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

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;
};

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