Skip to content

Commit 9f80368

Browse files
committed
fix(nix): don't force evaluating extensions
1 parent 8c632cc commit 9f80368

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flake.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,18 +181,19 @@
181181
{
182182
inherit name;
183183
value = mkExtension extensionConfig;
184+
inherit (extensionConfig.mktplcRef) publisher;
184185
}
185186
)
186187
)
187188
# group by publisher
188-
(builtins.groupBy ({ value, ... }: value.vscodeExtPublisher))
189+
(builtins.groupBy ({ publisher, ... }: publisher))
189190
# platform-specific extensions will overwrite universal extensions
190191
# due to the sorting order of platforms in the Haskell script
191192
(builtins.mapAttrs (
192193
_:
193194
builtins.foldl' (
194195
k:
195-
{ name, value }:
196+
{ name, value, ... }:
196197
k
197198
// {
198199
${name} =

0 commit comments

Comments
 (0)