fontconfig: revert to sysconfdir=/etc. Closes #3453
This commit is contained in:
parent
2d326e5032
commit
d4c946829f
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ pkgconfig expat ];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--with-cache-dir=/var/cache/fontconfig"
|
||||
"--disable-docs"
|
||||
"--with-default-fonts="
|
||||
@ -39,7 +40,7 @@ stdenv.mkDerivation rec {
|
||||
doCheck = true;
|
||||
|
||||
# Don't try to write to /var/cache/fontconfig at install time.
|
||||
installFlags = "fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false";
|
||||
installFlags = "sysconfdir=$(out)/etc fc_cachedir=$(TMPDIR)/dummy RUN_FC_CACHE_TEST=false";
|
||||
|
||||
postInstall = ''
|
||||
cd "$out/etc/fonts" && tar xvf ${infinality_patch}
|
||||
|
Loading…
Reference in New Issue
Block a user