summary refs log tree commit diff
path: root/pkgs/development/libraries/appstream/qt.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-03-18 01:58:24 +0300
committerK900 <me@0upti.me>2023-03-18 02:10:20 +0300
commita5a292c7a82c694129c1045a4ee8a5078db37d71 (patch)
tree5993cea8d479a7ae9711164fe57682b99912a695 /pkgs/development/libraries/appstream/qt.nix
parent509d8ca5c238a3507ed36109dca07044c6a63b9a (diff)
downloadnixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar.gz
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar.bz2
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar.lz
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar.xz
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.tar.zst
nixpkgs-a5a292c7a82c694129c1045a4ee8a5078db37d71.zip
treewide: clear out remaining qt5 conditionals
Diffstat (limited to 'pkgs/development/libraries/appstream/qt.nix')
-rw-r--r--pkgs/development/libraries/appstream/qt.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/development/libraries/appstream/qt.nix b/pkgs/development/libraries/appstream/qt.nix
index 3704332119e..bcc24376ff3 100644
--- a/pkgs/development/libraries/appstream/qt.nix
+++ b/pkgs/development/libraries/appstream/qt.nix
@@ -1,4 +1,4 @@
-{ lib, mkDerivation, appstream, qtbase, qttools, nixosTests }:
+{ mkDerivation, appstream, qtbase, qttools, nixosTests }:
 
 # TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
 
@@ -14,14 +14,7 @@ mkDerivation {
 
   mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
 
-  patches = (appstream.patches or []) ++ lib.optionals (lib.versionOlder qtbase.version "5.14") [
-    # Fix darwin build for libsForQt5.appstream-qt
-    # Old Qt moc doesn't know about fancy C++14 features
-    # ../qt/component.h:93: Parse error at "UrlTranslate"
-    # Remove both this patch and related comment in default.nix
-    # once Qt 5.14 or later becomes default on darwin
-    ./fix-build-for-qt-olderthan-514.patch
-  ];
+  patches = appstream.patches;
 
   postFixup = ''
     sed -i "$dev/lib/cmake/AppStreamQt/AppStreamQtConfig.cmake" \