fix(gtk-lock): add deps to get types right
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
27ff75260d
commit
d98290a6e4
2 changed files with 17 additions and 2 deletions
1
modules/ags/gtk-session-lock-types/.envrc
Normal file
1
modules/ags/gtk-session-lock-types/.envrc
Normal file
|
@ -0,0 +1 @@
|
|||
use flake $FLAKE#ags
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue