fix(gtk-lock): add deps to get types right
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-04-19 11:54:21 -04:00
parent 27ff75260d
commit d98290a6e4
2 changed files with 17 additions and 2 deletions

View file

@ -0,0 +1 @@
use flake $FLAKE#ags

View file

@ -1,6 +1,12 @@
{
gtk-lock,
atk,
buildNpmPackage,
gdk-pixbuf,
gobject-introspection,
gtk3,
gtk-lock,
harfbuzz,
pango,
...
}:
buildNpmPackage {
@ -13,6 +19,14 @@ buildNpmPackage {
dontNpmBuild = true;
installPhase = ''
npx @ts-for-gir/cli generate -g '${gtk-lock.dev}/share/gir-1.0' -o $out
npx @ts-for-gir/cli generate ${builtins.concatStringsSep " " [
"-g ${gtk-lock.dev}/share/gir-1.0"
"-g ${gobject-introspection.dev}/share/gir-1.0"
"-g ${gtk3.dev}/share/gir-1.0"
"-g ${pango.dev}/share/gir-1.0"
"-g ${gdk-pixbuf.dev}/share/gir-1.0"
"-g ${harfbuzz.dev}/share/gir-1.0"
"-g ${atk.dev}/share/gir-1.0"
]} -o $out
'';
}