Loading pkgs/by-name/de/desync/package.nix +15 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,21 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad. doCheck = false; # 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}$" ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd desync \ Loading Loading
pkgs/by-name/de/desync/package.nix +15 −2 Original line number Diff line number Diff line Loading @@ -21,8 +21,21 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; # nix builder doesn't have access to test data; tests fail for reasons unrelated to binary being bad. doCheck = false; # 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}$" ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd desync \ Loading