cross: jellyfin-media-player-qt6: fix wrapQtAppsHook

This commit is contained in:
Colin 2023-06-12 23:29:16 +00:00
parent 21e0c0d00f
commit 16c3d4289e
2 changed files with 7 additions and 4 deletions

View File

@ -656,9 +656,13 @@ in {
];
};
}));
jellyfin-media-player-qt6 = mvToBuildInputs
[ final.qt6.wrapQtAppsHook ] # otherwise the result targets x86. TODO: fix the hook in qt6 itself?
prev.jellyfin-media-player-qt6;
jellyfin-media-player-qt6 = prev.jellyfin-media-player-qt6.overrideAttrs (upstream: {
# nativeBuildInputs => result targets x86.
# buildInputs => result targets correct platform, but doesn't wrap the runtime deps
# TODO: fix the hook in qt6 itself?
depsHostHost = upstream.depsHostHost or [] ++ [ final.qt6.wrapQtAppsHook ];
nativeBuildInputs = lib.remove [ final.qt6.wrapQtAppsHook ] upstream.nativeBuildInputs;
});
# jellyfin-web = prev.jellyfin-web.override {
# # in node-dependencies-jellyfin-web: "node: command not found"
# inherit (emulated) stdenv;

View File

@ -51,7 +51,6 @@
ninja
pkg-config
python3
qt6.wrapQtAppsHook #< new: libsForQt5.callPackage implicitly adds the qt5 wrapQtAppsHook
];