zotero: Fix aarch64-linux build

It requires "arm64" instead of "aarch64".
This commit is contained in:
Mynacol
2026-02-11 19:04:49 +01:00
parent 20ad8f2fd6
commit 3d3503f47a
+3 -1
View File
@@ -221,7 +221,9 @@ buildNpmPackage rec {
if ${lib.boolToString stdenv.targetPlatform.isDarwin}; then
cp -r '${firefox-esr-140-unwrapped}/Applications/Firefox ESR.app' app/xulrunner/Firefox.app
else
cp -r '${firefox-esr-140-unwrapped}/lib/firefox' app/xulrunner/firefox-${stdenv.targetPlatform.parsed.kernel.name}-${stdenv.targetPlatform.parsed.cpu.name}
cp -r '${firefox-esr-140-unwrapped}/lib/firefox' app/xulrunner/firefox-${stdenv.targetPlatform.parsed.kernel.name}-${
lib.replaceString "aarch64" "arm64" stdenv.targetPlatform.parsed.cpu.name
}
fi
chmod -R u+w app/xulrunner/