diff --git a/package/scripts/common/utils.sh b/package/scripts/common/utils.sh index 5dd2ef4d90..f8b73ac08b 100644 --- a/package/scripts/common/utils.sh +++ b/package/scripts/common/utils.sh @@ -23,8 +23,8 @@ else DENOFILES=deno-x86_64-unknown-linux-gnu.zip DENO_DIR=x86_64 elif [[ $NIXARCH == "aarch64" ]]; then - DENOURL=https://github.com/LukeChannings/deno-arm64/releases/download - DENOFILES=deno-linux-arm64.zip + DENOURL=https://github.com/denoland/deno/releases/download + DENOFILES=deno-aarch64-unknown-linux-gnu.zip DENO_DIR=aarch64 else echo "configure script failed: unrecognized architecture " ${NIXARCH} diff --git a/package/src/common/dependencies/deno.ts b/package/src/common/dependencies/deno.ts index 01f9c645bd..2f18fc8e35 100644 --- a/package/src/common/dependencies/deno.ts +++ b/package/src/common/dependencies/deno.ts @@ -33,11 +33,14 @@ export function deno(version: string): Dependency { // Handle the configuration for this dependency const linuxAmd64DenoRelease = () => { + // Before 1.41 available at: // https://github.com/LukeChannings/deno-arm64/releases/download/v1.28.2/deno-linux-arm64.zip + // but after 1.41 available at: + // https://github.com/denoland/deno/releases/download/v1.41.0/deno-aarch64-unknown-linux-gnu.zip return { - filename: `deno-linux-arm64.zip`, + filename: `deno-aarch64-unknown-linux-gnu.zip`, url: - `https://github.com/LukeChannings/deno-arm64/releases/download/${version}/`, + `https://github.com/denoland/deno/releases/download/${version}/`, configure: async (_config: Configuration, path: string) => { const vendor = Deno.env.get("QUARTO_VENDOR_BINARIES"); if (vendor === undefined || vendor === "true") {