From 9d1558ba960e40e53b7015393b672ddabff12a57 Mon Sep 17 00:00:00 2001 From: aleksana Date: Thu, 11 Dec 2025 22:04:15 +0800 Subject: [PATCH] Revert "desync: enable tests" This reverts commit 600c38c8b2d55a17ba771a255f570d0ba57c91d9. --- pkgs/by-name/de/desync/package.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/pkgs/by-name/de/desync/package.nix b/pkgs/by-name/de/desync/package.nix index 4774a38a0fff..66ada1106567 100644 --- a/pkgs/by-name/de/desync/package.nix +++ b/pkgs/by-name/de/desync/package.nix @@ -21,21 +21,8 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; - # required for TestHTTPHandlerReadWrite and other tests - __darwinAllowLocalNetworking = true; - - checkFlags = - let - skippedTests = [ - "TestMountIndex" # FUSE does not work in sandbox - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - # sendfile is not permitted in Darwin sandbox - "TestS3StoreGetChunk/fail" - "TestS3StoreGetChunk/recover" - ]; - in - [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; + # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad. + doCheck = false; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd desync \