Commit Graph

4 Commits

Author SHA1 Message Date
Artturi a616e47487
Merge pull request #125270 from NixOS/backport-125263-to-release-21.05
[Backport release-21.05] gnomeExtensions: allowAliases should default to true if unset
2021-08-07 00:03:21 +03:00
Jan Tojnar f5d1823254 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.

(cherry picked from commit 571d540abf447f97b9b4db4a1e0665ec0a4dc06f)
2021-06-22 14:38:18 +02:00
Anders Kaseorg c3e7192dd5 gnomeExtensions: allowAliases should default to true if unset
Make this use of config.allowAliases consistent with every other use
in the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
(cherry picked from commit 4f0cf23ea3067493b93cc422d52f9bc10abc1e04)
2021-06-01 18:30:44 +00:00
piegames b642ac7b70
gnome: Package all the GNOME extensions
An automatic way to do this that scales up and requires little manual intervention is really needed. It works by scraping extensions.gnome.org with a python script, that writes all relevant information into the `extensions.json`. Every attribute of besaid file can be built into a package using `buildShellExtension`.

Extensions are grouped by GNOME Shell version for practical reasons. Only extensions for GNOME 40 and 3.38 were added, as we don't support legacy GNOME versions.
The extensions are exposed as an attrset, `pkgs.gnome40Extensions` and `pkgs.gnome38Extensions` respectively. The package name of each extensions is generated automatically from its UUID.

The attribute `pkgs.gnomeExtensions` contains the officially packaged and supported extensions set. It contains all the automatically packaged extensions for the current GNOME Shell version, which are overwritten by manually packaged ones where needed. Unlike gnomeXYExtensions, the names are not UUIDs, but automatically generated human-friendly names. Naming collisions – which are tracked in collisions.json – need to be manually resolved in the `extensionRenames` attrset.
2021-05-21 23:10:12 +02:00