1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross

From 6c5983a291, this should not be
necessary for gdk-pixbuf to work correctly.
This commit is contained in:
Matthew Bauer 2020-05-07 14:39:42 -05:00
parent d3760d44ee
commit c33e8c4986

View file

@ -37,7 +37,7 @@ in
# If there is any package configured in modulePackages, we generate the
# loaders.cache based on that and set the environment variable
# GDK_PIXBUF_MODULE_FILE to point to it.
config = mkIf (cfg.modulePackages != [] || pkgs.stdenv.hostPlatform != pkgs.stdenv.buildPlatform) {
config = mkIf (cfg.modulePackages != []) {
environment.variables = {
GDK_PIXBUF_MODULE_FILE = "${loadersCache}";
};