diff options
author | pacien <pacien.trangirard@pacien.net> | 2022-11-16 19:47:48 +0100 |
---|---|---|
committer | pacien <pacien.trangirard@pacien.net> | 2022-11-16 21:59:32 +0100 |
commit | a0297ff0e78388da3785df96b9c4a43e72cc071f (patch) | |
tree | 11c252eee8f8e6ada8926c99be601502c046e183 /pkgs/development/libraries/quarto/default.nix | |
parent | 51944000638cb69c69649cfb56a8fb6e56bd2380 (diff) |
quarto: 1.1.251 -> 1.2.269
This also patches the program so that it can run with the version of Deno currently in nixpkgs. Changelog: https://github.com/quarto-dev/quarto-cli/releases/tag/v1.2.269
Diffstat (limited to 'pkgs/development/libraries/quarto/default.nix')
-rw-r--r-- | pkgs/development/libraries/quarto/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/libraries/quarto/default.nix b/pkgs/development/libraries/quarto/default.nix index 16ad5f3534df8..357675ef7dd98 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 = '' |