mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
rPackages.quarto: add quarto to propagatedBuildInputs
This commit is contained in:
parent
2061388fd2
commit
bcbe587526
@ -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')"
|
||||
|
Loading…
Reference in New Issue
Block a user