mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: qtbase@6: Don't install test junk.
* gnu/packages/qt.scm (qtbase)[arguments]: Replace ineffective delete-installed-tests phase with dont-install-tests phase. Fixes: guix/guix#4529 Change-Id: I2ddd27e34a314e7a04de571d0bc1b13f75af66f4 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
4a2ea8fab6
commit
1d81d04d2b
1 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@
|
|||
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||
;;; Copyright © 2020-2025 Maxim Cournoyer <maxim@guixotic.coop>
|
||||
;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
|
||||
;;; Copyright © 2021, 2022, 2025 Brendan Tildesley <mail@brendan.scot>
|
||||
;;; Copyright © 2021, 2022, 2023 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021 Nicolò Balzarotti <nicolo@nixo.xyz>
|
||||
;;; Copyright © 2022 Foo Chuan Wei <chuanwei.foo@hotmail.com>
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue