diff --git a/flake.nix b/flake.nix index e080a7fe..ba13fffc 100644 --- a/flake.nix +++ b/flake.nix @@ -166,6 +166,17 @@ # platform-specific extensions will overwrite universal extensions # due to the sorting order of platforms in the Haskell script (builtins.mapAttrs (_: builtins.foldl' (k: { name, value }: k // { ${name} = value; }) { })) + ( + x: + builtins.foldl' + (acc: y: acc // { "${y.publisher}" = builtins.removeAttrs acc."${y.publisher}" y.extensions; }) + x + ( + pkgs.lib.attrsets.mapAttrsToList (publisher: extensions: { + inherit publisher extensions; + }) (import ./removed.nix) + ) + ) ]; mkSet = attrs@{ diff --git a/removed.nix b/removed.nix new file mode 100644 index 00000000..d95dc964 --- /dev/null +++ b/removed.nix @@ -0,0 +1,4 @@ +{ + # https://github.com/nix-community/nix-vscode-extensions/issues/69 + "ms-vscode" = [ "cpptools" ]; +}