rPackages.quarto: add quarto dependency

This commit is contained in:
nviets 2023-02-16 22:25:35 -05:00 committed by GitHub
parent 4f9a955c5a
commit dcd759fe65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";