summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorMihai Fufezan <mihai@fufexan.net>2025-07-02 00:18:34 +0300
committerGitHub <noreply@github.com>2025-07-01 23:18:34 +0200
commit90c8609cbb5ae7b488d7b14b4dfb3ec9585ed2b7 (patch)
treeeaf21e7398f8a013f92bc870f291ef075793388d /nix
parentb246f33ab1a89e4c1f05928c52b5cd2fd65708ed (diff)
CMake: disable tests by default (#10899)
Diffstat (limited to 'nix')
-rw-r--r--nix/hyprtester.nix4
1 files changed, 3 insertions, 1 deletions
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";