From 275ca3fda05ce63f49cc6b2c0982a429cd929ea0 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Sat, 26 Jul 2025 20:16:57 +0200 Subject: [PATCH] build: simplify -Dnix-eval-jobs handling Meson conveniently does lets you pass feature objects to `required :` arguments[1], which is handy [1]: https://mesonbuild.com/Build-options.html#features Change-Id: I54194b235a9b3dc207f3f78e0a8c50f957e1fd1f --- meson.build | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 2ae7ae1db..222c4db79 100644 --- a/meson.build +++ b/meson.build @@ -665,10 +665,4 @@ endif subdir('meson/clang-tidy') -if enable_nix_eval_jobs.enabled() - subproject( - 'nix-eval-jobs', - # Well, it was enabled! Surely it's wanted. - required : true, - ) -endif +subproject('nix-eval-jobs', required : enable_nix_eval_jobs)