mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
gnome3.gnome-desktop: fix thumbnailing with missing fontconfig cache (#56346)
Also use @storeDir@ instead of hardcoded /nix/store
This commit is contained in:
parent
81fa512bd8
commit
9202c5ab8f
|
@ -8,7 +8,7 @@
|
|||
- "--ro-bind", "/usr", "/usr",
|
||||
- "--ro-bind", "/etc/ld.so.cache", "/etc/ld.so.cache",
|
||||
+ "@bubblewrap_bin@",
|
||||
+ "--ro-bind", "/nix/store", "/nix/store",
|
||||
+ "--ro-bind", "@storeDir@", "@storeDir@",
|
||||
+ "--ro-bind", "/run/current-system", "/run/current-system",
|
||||
NULL);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ stdenv, fetchurl, substituteAll, pkgconfig, libxslt, which, libX11, gnome3, gtk3, glib
|
||||
, gettext, libxml2, xkeyboard_config, isocodes, itstool, wayland
|
||||
, gettext, libxml2, xkeyboard_config, isocodes, itstool, wayland, fetchpatch
|
||||
, libseccomp, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -30,6 +30,12 @@ stdenv.mkDerivation rec {
|
|||
(substituteAll {
|
||||
src = ./bubblewrap-paths.patch;
|
||||
bubblewrap_bin = "${bubblewrap}/bin/bwrap";
|
||||
inherit (builtins) storeDir;
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-missing-font-cache";
|
||||
url = https://gitlab.gnome.org/GNOME/gnome-desktop/commit/b87de7495160dbf48f01aa1ddb361fc2556ffd0c.patch;
|
||||
sha256 = "1aw7lw93kcflmqmbx25cwja25441i8xzvgjm1pfsxvw3vr8j6scb";
|
||||
})
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue