mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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
|
||||
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 New Issue
Block a user