mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
gtk: add GI_TYPELIB_PATH env var when compiling blueprints
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
]);
|
||||
program = pkgs.writeShellScript "compile-blueprints" ''
|
||||
set -e
|
||||
export GI_TYPELIB_PATH=${gi_typelib_path}
|
||||
${pkgs.findutils}/bin/find . -name \*.blp -print0 | ${pkgs.findutils}/bin/xargs --null --replace=BLP -- ${pkgs.lib.getExe pkgs.blueprint-compiler} format --fix BLP
|
||||
${pkgs.findutils}/bin/find . -name \*.blp -print0 | ${pkgs.findutils}/bin/xargs --null --replace=BLP -- sh -c "export B=BLP; ${pkgs.lib.getExe pkgs.blueprint-compiler} compile --typelib-path=${gi_typelib_path} --output \''${B%.*}.ui \$B"
|
||||
'';
|
||||
|
Reference in New Issue
Block a user