nix/overlays: overlay pipewire 1.2.0

This commit is contained in:
Mihai Fufezan 2024-07-05 18:47:46 +03:00
parent bc7131ce67
commit b9b97e5ba2
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -19,13 +19,33 @@ in {
default = mkJoinedOverlays (with self.overlays; [ default = mkJoinedOverlays (with self.overlays; [
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
]); ]);
xdg-desktop-portal-hyprland = final: prev: { xdg-desktop-portal-hyprland = lib.composeManyExtensions [
xdg-desktop-portal-hyprland = final.callPackage ./default.nix { self.overlays.pipewire
stdenv = prev.gcc13Stdenv; (final: prev: {
inherit (final) hyprland-protocols; xdg-desktop-portal-hyprland = final.callPackage ./default.nix {
inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland; stdenv = prev.gcc13Stdenv;
inherit version; inherit (final) hyprland-protocols;
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang; inherit (final.qt6) qtbase qttools wrapQtAppsHook qtwayland;
}; inherit version;
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
};
})
];
# TODO: remove when https://nixpk.gs/pr-tracker.html?pr=322933 lands in unstable
pipewire = final: prev: {
pipewire = prev.pipewire.overrideAttrs (self: super: {
version = "1.2.0";
src = final.fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "pipewire";
repo = "pipewire";
rev = self.version;
hash = "sha256-hjjiH7+JoyRTcdbPDvkUEpO72b5p8CbTD6Un/vZrHL8=";
};
mesonFlags = super.mesonFlags ++ [(final.lib.mesonEnable "snap" false)];
});
}; };
} }