musescore: do not build unit tests without doCheck (#342315)

This commit is contained in:
Doron Behar 2024-09-16 23:22:37 +03:00 committed by GitHub
commit 235b6185a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,6 +88,8 @@ in stdenv'.mkDerivation (finalAttrs: {
# Don't bundle qt qml files, relevant really only for darwin, but we set
# this for all platforms anyway.
"-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF"
# Don't build unit tests unless we are going to run them.
(lib.cmakeBool "MUSE_ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doCheck)
];
qtWrapperArgs = [