gnomeExtensions: Fix the package names
I did not realize the attribute names are derived from the Nix package names so I accidentally, renamed them in https://github.com/NixOS/nixpkgs/pull/124295.
This commit is contained in:
parent
db2166a2d3
commit
571d540abf
|
@ -47,8 +47,11 @@ let
|
||||||
license = lib.licenses.gpl2Plus; # https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review#Licensing
|
license = lib.licenses.gpl2Plus; # https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review#Licensing
|
||||||
maintainers = with lib.maintainers; [ piegames ];
|
maintainers = with lib.maintainers; [ piegames ];
|
||||||
};
|
};
|
||||||
|
passthru = {
|
||||||
|
extensionPortalSlug = pname;
|
||||||
# Store the extension's UUID, because we might need it at some places
|
# Store the extension's UUID, because we might need it at some places
|
||||||
passthru.extensionUuid = uuid;
|
extensionUuid = uuid;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
lib.makeOverridable buildGnomeExtension
|
lib.makeOverridable buildGnomeExtension
|
||||||
|
|
|
@ -48,7 +48,7 @@ let
|
||||||
))
|
))
|
||||||
# Map all extensions to their pname, with potential overwrites
|
# Map all extensions to their pname, with potential overwrites
|
||||||
(map (extension:
|
(map (extension:
|
||||||
lib.nameValuePair (extensionRenames.${extension.extensionUuid} or extension.pname) extension
|
lib.nameValuePair (extensionRenames.${extension.extensionUuid} or extension.extensionPortalSlug) extension
|
||||||
))
|
))
|
||||||
builtins.listToAttrs
|
builtins.listToAttrs
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue