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

View file

@ -29,7 +29,10 @@ in {
}; };
}; };
hyprland-share-picker = final: prev: { 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: { package-overrides = final: prev: {
sdbus-cpp = prev.sdbus-cpp.overrideAttrs (self: super: { sdbus-cpp = prev.sdbus-cpp.overrideAttrs (self: super: {