Skip to content

Commit 235b618

Browse files
authored
musescore: do not build unit tests without doCheck (#342315)
2 parents 48d56dd + a48fd58 commit 235b618

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkgs/applications/audio/musescore/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ in stdenv'.mkDerivation (finalAttrs: {
8888
# Don't bundle qt qml files, relevant really only for darwin, but we set
8989
# this for all platforms anyway.
9090
"-DMUE_COMPILE_INSTALL_QTQML_FILES=OFF"
91+
# Don't build unit tests unless we are going to run them.
92+
(lib.cmakeBool "MUSE_ENABLE_UNIT_TESTS" finalAttrs.finalPackage.doCheck)
9193
];
9294

9395
qtWrapperArgs = [

0 commit comments

Comments
 (0)