diff --git a/pkgs/misc/emulators/cdemu/analyzer.nix b/pkgs/misc/emulators/cdemu/analyzer.nix index 30d622ca46fb..5962102d58bc 100644 --- a/pkgs/misc/emulators/cdemu/analyzer.nix +++ b/pkgs/misc/emulators/cdemu/analyzer.nix @@ -1,15 +1,15 @@ -{ callPackage, gtk3, libxml2, gnuplot, makeWrapper, stdenv }: +{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv }: let pkg = import ./base.nix { version = "3.0.0"; pkgName = "image-analyzer"; pkgSha256 = "1rb3f7c08dxc02zrwrkfvq7qlzlmm0kd2ah1fhxj6ajiyshi8q4v"; }; in callPackage pkg { - buildInputs = [ gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper ]; + buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper ]; drvParams = { postFixup = '' wrapProgram $out/bin/image-analyzer \ - --set XDG_DATA_DIRS "$out/share:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS" + --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS" ''; }; } diff --git a/pkgs/misc/emulators/cdemu/gui.nix b/pkgs/misc/emulators/cdemu/gui.nix index 44c128e8c209..825c82d8de20 100644 --- a/pkgs/misc/emulators/cdemu/gui.nix +++ b/pkgs/misc/emulators/cdemu/gui.nix @@ -11,7 +11,7 @@ in callPackage pkg { wrapProgram $out/bin/gcdemu \ --set PYTHONPATH "$PYTHONPATH" \ --set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" \ - --set XDG_DATA_DIRS "$out/share:$XDG_DATA_DIRS" + --prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH:$XDG_DATA_DIRS" ''; # TODO AppIndicator };