weblate: move env variable(s) into env for structuredAttrs
This commit is contained in:
@@ -21,6 +21,15 @@ let
|
||||
django = prev.django_5;
|
||||
};
|
||||
};
|
||||
|
||||
GI_TYPELIB_PATH = lib.makeSearchPathOutput "out" "lib/girepository-1.0" [
|
||||
pango
|
||||
harfbuzz
|
||||
librsvg
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gobject-introspection
|
||||
];
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "weblate";
|
||||
@@ -157,14 +166,10 @@ python.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
# We don't just use wrapGAppsNoGuiHook because we need to expose GI_TYPELIB_PATH
|
||||
GI_TYPELIB_PATH = lib.makeSearchPathOutput "out" "lib/girepository-1.0" [
|
||||
pango
|
||||
harfbuzz
|
||||
librsvg
|
||||
gdk-pixbuf
|
||||
glib
|
||||
gobject-introspection
|
||||
];
|
||||
env = {
|
||||
inherit GI_TYPELIB_PATH;
|
||||
};
|
||||
|
||||
makeWrapperArgs = [ "--set GI_TYPELIB_PATH \"$GI_TYPELIB_PATH\"" ];
|
||||
|
||||
passthru = {
|
||||
|
||||
Reference in New Issue
Block a user