rPackages.quarto: add quarto to propagatedBuildInputs

This commit is contained in:
nviets 2023-10-18 14:44:33 -05:00
parent 2061388fd2
commit bcbe587526

View file

@ -1032,6 +1032,7 @@ let
});
quarto = old.quarto.overrideAttrs (attrs: {
propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ pkgs.quarto ];
postPatch = ''
substituteInPlace "R/quarto.R" \
--replace "path_env <- Sys.getenv(\"QUARTO_PATH\", unset = NA)" "path_env <- Sys.getenv(\"QUARTO_PATH\", unset = '${lib.getBin pkgs.quarto}/bin/quarto')"