diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 7ac66e6c057..e86341e4fbb 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -20,7 +20,7 @@ ;;; Copyright © 2020 Jonathan Brielmaier ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020-2025 Maxim Cournoyer -;;; Copyright © 2021, 2022 Brendan Tildesley +;;; Copyright © 2021, 2022, 2025 Brendan Tildesley ;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant ;;; Copyright © 2021 Nicolò Balzarotti ;;; Copyright © 2022 Foo Chuan Wei @@ -1192,10 +1192,10 @@ tst_qt_cmake_create.cpp" '("device_config.prf" "moc.prf" "qt_config.prf")) (("\\$\\$\\[QT_HOST_DATA/get\\]") archdata) (("\\$\\$\\[QT_HOST_DATA/src\\]") archdata))))) - (add-after 'install 'delete-installed-tests + (add-before 'install 'dont-install-tests (lambda _ - (delete-file-recursively - (string-append #$output "/tests")))))))) + (substitute* "cmake_install.cmake" + (("include.*tests/cmake_install") "#")))))))) (native-inputs (modify-inputs (package-native-inputs qtbase-5) (prepend ninja ;CMake Generator, also used for tests