Skip to content

Unable to build and run Newelle using Nix #288

Description

@anna328p
$ nix run github:qwersyk/Newelle

Traceback (most recent call last):
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/bin/.newelle-wrapped", line 45, in <module>
    from newelle import main
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/main.py", line 9, in <module>
    from .ui.settings import Settings
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/ui/settings.py", line 13, in <module>
    from ..constants import AVAILABLE_EMBEDDINGS, AVAILABLE_LLMS, AVAILABLE_MEMORIES, AVAILABLE_PROMPTS, AVAILABLE_TTS, AVAILABLE_STT, PROMPTS, AVAILABLE_RAGS, AVAILABLE_WEBSEARCH
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/constants.py", line 9, in <module>
    from .integrations.website_reader import WebsiteReader
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/integrations/website_reader.py", line 3, in <module>
    from ..ui.widgets import WebsiteButton
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/ui/widgets/__init__.py", line 14, in <module>
    from .browser import BrowserWidget
  File "/nix/store/ffzvd1pbrr79ynj3233dy3hqx53i0a1p-newelle-0.9.6/share/newelle/newelle/ui/widgets/browser.py", line 6, in <module>
    gi.require_version('WebKit', '6.0')
  File "/nix/store/66r54zb1wzs4fz8ckp8i4bhrw0k67hm3-python3.12-pygobject-3.50.0/lib/python3.12/site-packages/gi/__init__.py", line 122, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit not available
  • system: "x86_64-linux"
  • host os: Linux 6.15.9, NixOS, 25.11 (Xantusia), 25.11.20250809.bcc20ca
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.4
  • nixpkgs: /nix/store/mbc2kf18m60j8k4h83gzl44qvxjcr1m6-source

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions