Merge pull request #323693 from linsui/gnomeextension

gnomeExtensions: make manually packages extensions overridable
This commit is contained in:
Doron Behar 2024-07-01 08:32:37 +03:00 committed by GitHub
commit 12cb33f296
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
{ lib
, callPackage
, callPackages
, config
}:
let
@ -72,7 +71,7 @@ in rec {
# Apply some custom patches for automatically packaged extensions
(callPackage ./extensionOverrides.nix {})
# Add all manually packaged extensions
(extensions: extensions // (callPackages ./manuallyPackaged.nix {}))
(extensions: extensions // (import ./manuallyPackaged.nix { inherit callPackage; }))
# Map the extension UUIDs to readable names
(lib.attrValues)
(mapReadableNames)