hyprland-share-picker: qt5 -> qt6

This commit is contained in:
Mihai Fufezan 2023-09-06 20:57:54 +03:00 committed by Mihai Fufezan
parent 04d8fe8431
commit 744f250dbe
2 changed files with 6 additions and 2 deletions

View file

@ -3,12 +3,12 @@
lib,
cmake,
qtbase,
qtwayland,
makeShellWrapper,
wrapQtAppsHook,
hyprland,
slurp,
version ? "git",
...
}:
stdenv.mkDerivation {
pname = "hyprland-share-picker";
@ -22,6 +22,7 @@ stdenv.mkDerivation {
];
buildInputs = [
qtbase
qtwayland
];
dontWrapQtApps = true;

View file

@ -29,7 +29,10 @@ in {
};
};
hyprland-share-picker = final: prev: {
hyprland-share-picker = final.libsForQt5.callPackage ./hyprland-share-picker.nix {inherit version;};
hyprland-share-picker = final.callPackage ./hyprland-share-picker.nix {
inherit (final.qt6) qtbase wrapQtAppsHook qtwayland;
inherit version;
};
};
package-overrides = final: prev: {
sdbus-cpp = prev.sdbus-cpp.overrideAttrs (self: super: {