Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Clone the repository
Run nix build
error: builder for '/nix/store/bjrkxrfk0z3q4gwnidhm4ilz7dyimygh-hyprpanel-latest.drv' failed with exit code 1;
last 10 log lines:
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> calling 'preConfigure' function hook '_multioutConfig'
> no configure script, doing nothing
> Running phase: buildPhase
> 4 | import GdkPixbuf from "types/@girs/gdkpixbuf-2.0/gdkpixbuf-2.0.js";
> ^
> error: Could not resolve: "types/@girs/gdkpixbuf-2.0/gdkpixbuf-2.0.js". Maybe you need to "bun install"?
> at /build/nrn2j05b1w5qinz0a77jva3xqj135kcc-source/modules/menus/dashboard/profile/index.ts:4:23
For full logs, run 'nix log /nix/store/bjrkxrfk0z3q4gwnidhm4ilz7dyimygh-hyprpanel-latest.drv'.
error: 1 dependencies of derivation '/nix/store/0r8shgja2cgq0d3sgbmic1fi1vpb5kg8-hyprpanel.drv' failed to build
Expected behavior
HyprPanel should build
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Distribution: NixOS
Window Manager/Desktop Environment: Hyprland
Additional context
This issue is caused by modules/menus/dashboard/profile/index.ts:4 with
import GdkPixbuf from "types/@girs/gdkpixbuf-2.0/gdkpixbuf-2.0.js";
which (as far as I'm aware anyway) isn't part of the default Ags types. Removing this line, and removing line 30 resolves the build issue, and doesn't seem to cause any issues in my testing.
Describe the bug A clear and concise description of what the bug is.
To Reproduce
nix build
Expected behavior HyprPanel should build
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context This issue is caused by
modules/menus/dashboard/profile/index.ts:4
withwhich (as far as I'm aware anyway) isn't part of the default Ags types. Removing this line, and removing line 30 resolves the build issue, and doesn't seem to cause any issues in my testing.