diff --git a/modules/programs/gnome-shell.nix b/modules/programs/gnome-shell.nix index 36a57cea9..a91609bf2 100644 --- a/modules/programs/gnome-shell.nix +++ b/modules/programs/gnome-shell.nix @@ -17,7 +17,7 @@ let package = mkOption { type = types.package; - example = "pkgs.gnome.gnome-shell-extensions"; + example = "pkgs.gnome-shell-extensions"; description = '' Package providing a GNOME Shell extension in `$out/share/gnome-shell/extensions/''${id}`. @@ -66,7 +66,7 @@ in { { package = pkgs.gnomeExtensions.dash-to-panel; } { id = "user-theme@gnome-shell-extensions.gcampax.github.com"; - package = pkgs.gnome.gnome-shell-extensions; + package = pkgs.gnome-shell-extensions; } ] ''; @@ -106,7 +106,7 @@ in { programs.gnome-shell.extensions = [{ id = "user-theme@gnome-shell-extensions.gcampax.github.com"; - package = pkgs.gnome.gnome-shell-extensions; + package = pkgs.gnome-shell-extensions; }]; home.packages = [ cfg.theme.package ]; diff --git a/tests/modules/programs/gnome-shell/gnome-shell.nix b/tests/modules/programs/gnome-shell/gnome-shell.nix index 02f44e0c3..6c3eb6bca 100644 --- a/tests/modules/programs/gnome-shell/gnome-shell.nix +++ b/tests/modules/programs/gnome-shell/gnome-shell.nix @@ -36,11 +36,7 @@ let in { nixpkgs.overlays = [ - (self: super: { - gnome = super.gnome.overrideScope (gself: gsuper: { - gnome-shell-extensions = dummy-gnome-shell-extensions; - }); - }) + (final: prev: { gnome-shell-extensions = dummy-gnome-shell-extensions; }) ]; programs.gnome-shell.enable = true;