nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross
From 6c5983a291530f040deb97881e80cca373a5b29e, this should not be necessary for gdk-pixbuf to work correctly.
This commit is contained in:
parent
d3760d44ee
commit
c33e8c4986
@ -37,7 +37,7 @@ in
|
|||||||
# If there is any package configured in modulePackages, we generate the
|
# If there is any package configured in modulePackages, we generate the
|
||||||
# loaders.cache based on that and set the environment variable
|
# loaders.cache based on that and set the environment variable
|
||||||
# GDK_PIXBUF_MODULE_FILE to point to it.
|
# GDK_PIXBUF_MODULE_FILE to point to it.
|
||||||
config = mkIf (cfg.modulePackages != [] || pkgs.stdenv.hostPlatform != pkgs.stdenv.buildPlatform) {
|
config = mkIf (cfg.modulePackages != []) {
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
|
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user