From 90c8609cbb5ae7b488d7b14b4dfb3ec9585ed2b7 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Wed, 2 Jul 2025 00:18:34 +0300 Subject: CMake: disable tests by default (#10899) --- nix/hyprtester.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nix') diff --git a/nix/hyprtester.nix b/nix/hyprtester.nix index 7b729427..042228c7 100644 --- a/nix/hyprtester.nix +++ b/nix/hyprtester.nix @@ -10,7 +10,7 @@ }: let inherit (lib.lists) flatten foldl'; inherit (lib.sources) cleanSourceWith cleanSource; - inherit (lib.strings) hasSuffix; + inherit (lib.strings) hasSuffix cmakeBool; adapters = flatten [ stdenvAdapters.useMoldLinker @@ -48,6 +48,8 @@ in cmakeBuildType = "Debug"; + cmakeFlags = [(cmakeBool "TESTS" true)]; + meta = { homepage = "https://github.com/hyprwm/Hyprland"; description = "Hyprland testing framework"; -- cgit v1.2.3