rplot: fix fontconfig warning

This commit is contained in:
Rodrigo Arias Mallo 2021-03-12 19:53:24 +01:00
parent c41456412c
commit 74cd3d4fbc

View File

@ -2,6 +2,7 @@
stdenv
, rWrapper
, rPackages
, fontconfig
}:
{
@ -26,6 +27,7 @@ in stdenv.mkDerivation {
phases = [ "installPhase" ];
installPhase = ''
export FONTCONFIG_PATH=${fontconfig.out}/etc/fonts
mkdir -p $out
cd $out
ln -s ${dataset} input