Skip to content

Commit

Permalink
chore(deps): bump nix flakes and quarto version (#10406)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Oct 31, 2024
1 parent a806691 commit 9cbbc49
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 20 deletions.
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions nix/quarto/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, esbuild
, deno_1
, fetchurl
, dart-sass
, makeWrapper
Expand All @@ -17,15 +16,15 @@ let
"aarch64-darwin" = "macos";
};
shas = {
"x86_64-linux" = "sha256-4PgvIPExU6FTaGB5gOSt/InJ9wftVas5OSlvtbW4Rm4=";
"aarch64-linux" = "sha256-7hrySIJREoVuqPQfLYxR0cqT82oocYgB1Gbi4Rbh3ns=";
"aarch64-darwin" = "sha256-BcliqrsJQrP2xjTMv+jqQziQTD7nQap4IAIp2R8ZVCM=";
"x86_64-linux" = "sha256-mVoFBQJJHGn5ZbwOtamshEQl9FzmRVEBye3bBXFUlUI=";
"aarch64-linux" = "sha256-TNik4+OdDqGwArw9wkrq4wNHt6tGgYo32V9KNPSsPWo=";
"aarch64-darwin" = "sha256-fjcmyVyPSHyHBICjpweuCnGtMAAlPNNzBMHEk+2emBA=";
};
inherit (stdenv.hostPlatform) system;
in
stdenv.mkDerivation rec {
pname = "quarto";
version = "1.6.25";
version = "1.6.32";
src = fetchurl {
url = "https://github.com/quarto-dev/quarto-cli/releases/download/v${version}/quarto-${version}-${platforms.${system}}.tar.gz";
sha256 = shas.${system};
Expand All @@ -46,7 +45,6 @@ stdenv.mkDerivation rec {
''
wrapProgram $out/bin/quarto \
--prefix QUARTO_ESBUILD : ${lib.getExe esbuild} \
--prefix QUARTO_DENO : ${lib.getExe deno_1} \
--prefix QUARTO_R : ${lib.getExe' rEnv "R"} \
--prefix QUARTO_DART_SASS : ${lib.getExe dart-sass}
'';
Expand All @@ -56,8 +54,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share
rm -r bin/tools/*/deno*
mv bin/* $out/bin
mv share/* $out/share
Expand Down

0 comments on commit 9cbbc49

Please sign in to comment.