mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
fontconfig: revert to sysconfdir=/etc. Closes #3453
This commit is contained in:
parent
2d326e5032
commit
d4c946829f
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue