rPackages.quarto: add quarto dependency
This commit is contained in:
parent
4f9a955c5a
commit
dcd759fe65
|
@ -1016,6 +1016,13 @@ let
|
|||
'';
|
||||
});
|
||||
|
||||
quarto = old.quarto.overrideDerivation (attrs: {
|
||||
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')"
|
||||
'';
|
||||
});
|
||||
|
||||
s2 = old.s2.overrideDerivation (attrs: {
|
||||
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
|
||||
PKGCONFIG_LIBS = "-Wl,-rpath,${lib.getLib pkgs.openssl}/lib -L${lib.getLib pkgs.openssl}/lib -lssl -lcrypto";
|
||||
|
|
Loading…
Reference in a new issue