neoload: provide fake fontconfig file (fixes chroot builds)
This commit is contained in:
parent
e80cbedbae
commit
eb1ed09b1d
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user