diff --git a/pkgs/desktops/gnome/games/aisleriot/default.nix b/pkgs/desktops/gnome/games/aisleriot/default.nix index 16dc9d6509b9..bdd7c9cc1a32 100644 --- a/pkgs/desktops/gnome/games/aisleriot/default.nix +++ b/pkgs/desktops/gnome/games/aisleriot/default.nix @@ -1,7 +1,7 @@ { lib, stdenv , fetchFromGitLab +, nix-update-script , pkg-config -, gnome , itstool , gtk3 , wrapGAppsHook @@ -61,8 +61,7 @@ stdenv.mkDerivation rec { ]; passthru = { - updateScript = gnome.updateScript { - packageName = pname; + updateScript = nix-update-script { attrPath = "gnome.${pname}"; }; };