summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-12-01 11:48:31 +0100
committerGitHub <noreply@github.com>2022-12-01 11:48:31 +0100
commitb2aeb9072b698553c2332e6bd6128eb0dce5e9ee (patch)
tree5f5ed6adca5e60efdc2c16f5e8235ad202899a29 /pkgs
parentb33a7fa3fa79e873a5907a46ad0367a420f92c76 (diff)
parenta0297ff0e78388da3785df96b9c4a43e72cc071f (diff)
Merge pull request #201551 from pacien/quarto-1.2.269
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/quarto/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/libraries/quarto/default.nix b/pkgs/development/libraries/quarto/default.nix
index 16ad5f3534df..357675ef7dd9 100644
--- a/pkgs/development/libraries/quarto/default.nix
+++ b/pkgs/development/libraries/quarto/default.nix
@@ -13,10 +13,10 @@
stdenv.mkDerivation rec {
pname = "quarto";
- version = "1.1.251";
+ version = "1.2.269";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${version}/quarto-${version}-linux-amd64.tar.gz";
- sha256 = "sha256-VEYUEI4xzQPXlyTbCThAW2npBCZNPDJ5x2cWnkNz7RE=";
+ sha256 = "sha256-liZc7Ewo7HaIXdcXpdfQ3SW5JlOmZiZDawusjgJt8pE=";
};
nativeBuildInputs = [
@@ -27,6 +27,13 @@ stdenv.mkDerivation rec {
./fix-deno-path.patch
];
+ postPatch = ''
+ # Compat for Deno >=1.26
+ substituteInPlace bin/quarto.js \
+ --replace 'Deno.setRaw(stdin.rid, ' 'Deno.stdin.setRaw(' \
+ --replace 'Deno.setRaw(Deno.stdin.rid, ' 'Deno.stdin.setRaw('
+ '';
+
dontStrip = true;
preFixup = ''