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
2 changed files with 6 additions and 3 deletions
|
@ -47,8 +47,11 @@ let
|
|||
license = lib.licenses.gpl2Plus; # https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review#Licensing
|
||||
maintainers = with lib.maintainers; [ piegames ];
|
||||
};
|
||||
# Store the extension's UUID, because we might need it at some places
|
||||
passthru.extensionUuid = uuid;
|
||||
passthru = {
|
||||
extensionPortalSlug = pname;
|
||||
# Store the extension's UUID, because we might need it at some places
|
||||
extensionUuid = uuid;
|
||||
};
|
||||
};
|
||||
in
|
||||
lib.makeOverridable buildGnomeExtension
|
||||
|
|
|
@ -48,7 +48,7 @@ let
|
|||
))
|
||||
# Map all extensions to their pname, with potential overwrites
|
||||
(map (extension:
|
||||
lib.nameValuePair (extensionRenames.${extension.extensionUuid} or extension.pname) extension
|
||||
lib.nameValuePair (extensionRenames.${extension.extensionUuid} or extension.extensionPortalSlug) extension
|
||||
))
|
||||
builtins.listToAttrs
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue