mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #255219 from jbedo/rmarkdown
rPackages.pandoc: fix pandoc linking
This commit is contained in:
commit
bdc382d331
@ -603,7 +603,6 @@ let
|
||||
ncdfFlow = [ pkgs.zlib.dev ];
|
||||
proj4 = [ pkgs.proj.dev ];
|
||||
rtmpt = [ pkgs.gsl ];
|
||||
rmarkdown = [ pkgs.pandoc ];
|
||||
mixcat = [ pkgs.gsl ];
|
||||
libstableR = [ pkgs.gsl ];
|
||||
landsepi = [ pkgs.gsl ];
|
||||
@ -1362,6 +1361,13 @@ let
|
||||
patches = [ ./patches/rhdf5.patch ];
|
||||
});
|
||||
|
||||
rmarkdown = old.rmarkdown.overrideAttrs (_: {
|
||||
preConfigure = ''
|
||||
substituteInPlace R/pandoc.R \
|
||||
--replace '"~/opt/pandoc"' '"~/opt/pandoc", "${pkgs.pandoc}/bin"'
|
||||
'';
|
||||
});
|
||||
|
||||
redland = old.redland.overrideAttrs (_: {
|
||||
PKGCONFIG_CFLAGS="-I${pkgs.redland}/include -I${pkgs.librdf_raptor2}/include/raptor2 -I${pkgs.librdf_rasqal}/include/rasqal";
|
||||
PKGCONFIG_LIBS="-L${pkgs.redland}/lib -L${pkgs.librdf_raptor2}/lib -L${pkgs.librdf_rasqal}/lib -lrdf -lraptor2 -lrasqal";
|
||||
|
Loading…
Reference in New Issue
Block a user