mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
Fix cdemu ui gsettings schema paths
This commit is contained in:
parent
983fddcea8
commit
67f9c8b025
@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user