neoload: provide fake fontconfig file (fixes chroot builds)

This commit is contained in:
Mathijs Kwik 2014-09-22 19:01:57 +02:00
parent e80cbedbae
commit eb1ed09b1d
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, writeTextFile, jre, makeWrapper, licenseAccepted ? false }:
{ stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }:
# If you happen to use this software on the XMonad window manager, you will have issues with
# grey windows, no resizing, menus not showing and other glitches.
@ -62,6 +62,7 @@ in stdenv.mkDerivation rec {
export HOME=`pwd`
export INSTALL4J_JAVA_HOME=${jre}
export FONTCONFIG_FILE=${fontsConf}
bash -ic './installer -q -varfile response.varfile'
sed -i 's/Xmx450m/Xmx900m/;s/Xss192k/Xss384k/' $out/lib/neoload/conf/agent.properties

View File

@ -4334,6 +4334,11 @@ let
neoload = callPackage ../development/tools/neoload {
licenseAccepted = (config.neoload.accept_license or false);
fontsConf = makeFontsConf {
fontDirectories = [
xorg.fontbhttf
];
};
};
ninja = callPackage ../development/tools/build-managers/ninja { };