NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.13k stars 14.16k forks source link

pkgs.gnomeExtensions.bing-wallpaper-changer missing deps #217316

Open RodneyBrown opened 1 year ago

RodneyBrown commented 1 year ago

Describe the bug

After installing and activating the Bing Wallpaper Gnome extension, it mostly works but the settings GUI throws the following error:

The settings of extension BingWallpaper@ineffable-gmail.com had an error:

Error: Requiring Soup, version 2.4: Typelib file for namespace 'Soup', version '2.4' not found

Stack trace:

@/etc/profiles/per-user/rbrown/share/gnome-shell/extensions/BingWallpaper@ineffable-gmail.com/prefs.js:12:48
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:368:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:401:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/nix/store/c67yk7q7wzihbnwjarmaw0fwy4pj950h-gnome-shell-43.2/share/gnome-shell/.org.gnome.Shell.Extensions-wrapped:7:17

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install the package
  2. Activate the extension
  3. Attempt to access the extensions settings

Expected behavior

The settings GUI for the extension should appear

Additional context

This seems to only be an issue in NixOS. I've used this extension in Fedora and other Linux distros without issue.

Seems to be very similar to #141937

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.12, NixOS, 22.11 (Raccoon), 22.11.20230219.0cf4274`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"home-manager-22.11.tar.gz, nixos-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
andrewvious commented 12 months ago

I am having precisely the same error mentioned here with: pkgs.gnomeExtensions.google-earth-wallpaper Figured I would add here :)