From f3db9db7d06e7d71ccf404780ae79fd081f949f5 Mon Sep 17 00:00:00 2001 From: dish Date: Thu, 3 Sep 2026 13:29:05 -0400 Subject: [PATCH] noctalia: enable tests --- pkgs/by-name/no/noctalia/package.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/no/noctalia/package.nix b/pkgs/by-name/no/noctalia/package.nix index d3cf09070758..435496116d29 100644 --- a/pkgs/by-name/no/noctalia/package.nix +++ b/pkgs/by-name/no/noctalia/package.nix @@ -42,6 +42,7 @@ stb, systemdLibs, tomlplusplus, + tzdata, wayland, wayland-protocols, wireplumber, @@ -110,7 +111,7 @@ stdenv.mkDerivation (finalAttrs: { ]; mesonFlags = [ - (lib.mesonEnable "tests" false) + (lib.mesonEnable "tests" true) (lib.mesonEnable "jemalloc" (!stdenv.hostPlatform.isMusl)) ]; @@ -129,6 +130,13 @@ stdenv.mkDerivation (finalAttrs: { --prefix PATH : ${lib.makeBinPath [ gitMinimal ]} ''; + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; + + nativeCheckInputs = [ + tzdata + gitMinimal + ]; + passthru.updateScript = nix-update-script { }; meta = {