diff --git a/pkgs/development/libraries/quarto/default.nix b/pkgs/development/libraries/quarto/default.nix index 78dc32fbbf55..346fb094473d 100644 --- a/pkgs/development/libraries/quarto/default.nix +++ b/pkgs/development/libraries/quarto/default.nix @@ -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 \