From 336d9df6a6283eedfc252a7d5f529e4a14e3282b Mon Sep 17 00:00:00 2001 From: ediblerope Date: Tue, 28 Apr 2026 13:01:07 +0100 Subject: [PATCH] common: skip openldap test phase as temp workaround test017-syncreplication-refresh is timing-flaky and fails reliably on local builds when Hydra's binary cache hasn't yet served the upstream artifact. Overlay sets doCheck=false so the build can proceed. Remove once the substituter catches up to the pinned nixpkgs revision. Co-Authored-By: Claude Opus 4.7 --- common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common.nix b/common.nix index 6b98670..4769086 100644 --- a/common.nix +++ b/common.nix @@ -66,6 +66,16 @@ # Allow unfree packages nixpkgs.config.allowUnfree = true; + # openldap 2.6.13's test017-syncreplication-refresh is timing-flaky and + # fails reliably on local builds when the binary cache hasn't yet served + # the upstream-built artifact. Skip its test phase. Remove this overlay + # once Hydra's substituter has populated openldap for the pinned nixpkgs. + nixpkgs.overlays = [ + (final: prev: { + openldap = prev.openldap.overrideAttrs (_: { doCheck = false; }); + }) + ]; + # Enable network-manager networking.networkmanager.enable = true;