Merge pull request #323571 from LeSuisse/quarto-no-polyfill.io

This commit is contained in:
Sandro
2024-07-03 16:08:05 +02:00
committed by GitHub

View File

@@ -5,6 +5,7 @@
, esbuild
, deno
, fetchurl
, fetchpatch
, dart-sass
, rWrapper
, rPackages
@@ -29,6 +30,16 @@ stdenv.mkDerivation (final: {
makeWrapper
];
patches = [
(fetchpatch {
name = "drop-usage-known-bad-actor-cdn.patch";
url = "https://github.com/quarto-dev/quarto-cli/commit/9f02884fec462e16b82bdf0acc632246b2f40201.patch";
relative = "src/resources";
extraPrefix = "share/";
hash = "sha256-RUIaQCqi3fWn1UIxcMi6/6vh4ANuL44uOnC/bnsHT/k=";
})
];
postPatch = ''
# Compat for Deno >=1.26
substituteInPlace bin/quarto.js \