From 37504fb9ec7de539402eb83e6227c1b02da61996 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Fri, 27 Feb 2026 12:41:42 +0100 Subject: [PATCH] premake5: Apply patch to fix filtering with alias values Fixes edopro on aarch64-linux (uses now-aliased ARM64 architecture label). --- pkgs/development/tools/misc/premake/5.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/premake/5.nix b/pkgs/development/tools/misc/premake/5.nix index 440833f67896..efa213aa0fde 100644 --- a/pkgs/development/tools/misc/premake/5.nix +++ b/pkgs/development/tools/misc/premake/5.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, # build inputs cacert, @@ -29,7 +30,16 @@ stdenv.mkDerivation (finalAttrs: { readline ]; - patches = [ ./no-curl-ca.patch ]; + patches = [ + # https://github.com/premake/premake-core/issues/2614 + (fetchpatch { + name = "0001-premake5-Fix-filters-using-alias-value.patch"; + url = "https://github.com/premake/premake-core/commit/d01097bb38da6855beeef7158b8b04ab1e63249b.patch"; + hash = "sha256-ZGhNUoXZbbW9ioFnAgPwypYhepoChtWF1SOCxs1WLj8="; + }) + + ./no-curl-ca.patch + ]; postPatch = '' substituteInPlace contrib/curl/premake5.lua \ --replace-fail "ca = nil" "ca = '${cacert}/etc/ssl/certs/ca-bundle.crt'"