From a0d202cd8dea01b0bb82fb76cea8b9a6cede2fdc Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Sat, 17 May 2025 12:38:50 +0200 Subject: [PATCH] scummvm: fix aarch64-darwin ranlib path --- pkgs/games/scummvm/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix index edecf97f68d6..de9c03b89091 100644 --- a/pkgs/games/scummvm/default.nix +++ b/pkgs/games/scummvm/default.nix @@ -74,8 +74,7 @@ stdenv.mkDerivation rec { '' + lib.optionalString stdenv.hostPlatform.isDarwin '' substituteInPlace config.mk \ - --replace x86_64-apple-darwin-ranlib ${cctools}/bin/ranlib \ - --replace aarch64-apple-darwin-ranlib ${cctools}/bin/ranlib + --replace-fail ${stdenv.hostPlatform.config}-ranlib ${cctools}/bin/ranlib ''; NIX_CFLAGS_COMPILE = [ "-fpermissive" ];