From b8fcbdf1c85a9ef0116e411cab9e4077a34cea21 Mon Sep 17 00:00:00 2001 From: superherointj Date: Tue, 27 Jan 2026 10:39:26 -0300 Subject: [PATCH] godot_4_6: fix TLS handshake fail preventing assetlib use Fixes #454608 Upstream: https://github.com/NixOS/nixpkgs/issues/454608 --- pkgs/development/tools/godot/common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/tools/godot/common.nix b/pkgs/development/tools/godot/common.nix index 5f312cdb6937..662a195f3b0d 100644 --- a/pkgs/development/tools/godot/common.nix +++ b/pkgs/development/tools/godot/common.nix @@ -417,6 +417,14 @@ let patches = [ ./Linux-fix-missing-library-with-builtin_glslang-false.patch ] + ++ lib.optionals (lib.versionAtLeast version "4.6") [ + # https://github.com/godotengine/godot/pull/115450 + (fetchpatch { + name = "fix-tls-handshake-fail-preventing-assetlib-use.patch"; + url = "https://github.com/godotengine/godot/commit/29acd734c71f06268d6ef4715d7df70b14731f48.patch"; + hash = "sha256-wxkr6jPtutUTG+mYrXoxcDcWIIZghlSJ79XqhFh/0P4="; + }) + ] ++ lib.optionals (lib.versionOlder version "4.4") [ (fetchpatch { name = "wayland-header-fix.patch";