From f3bc624b0b0db4e8066efc35978f0d4dff9cba81 Mon Sep 17 00:00:00 2001 From: rewine Date: Fri, 11 Oct 2024 14:44:00 +0800 Subject: [PATCH] lxqt.libqtxdg_3_12: don't apply patches for libqtxdg 4.0 --- pkgs/desktops/lxqt/libqtxdg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/lxqt/libqtxdg/default.nix b/pkgs/desktops/lxqt/libqtxdg/default.nix index 58c17ba8d31a..13fd763f7eb1 100644 --- a/pkgs/desktops/lxqt/libqtxdg/default.nix +++ b/pkgs/desktops/lxqt/libqtxdg/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { }."${version}"; }; - patches = [ ./qt68.patch ]; + patches = lib.optionals (lib.versionAtLeast version "4") [ ./qt68.patch ]; nativeBuildInputs = [ cmake