Commit Graph

30 Commits

Author SHA1 Message Date
Tomasz Feliksik
e71de6ec0a vscode-extensions.ms-dotnettools.csharp: write install.Lock into $out
roslyn-copilot's postFetch wrote install.Lock with a relative path, so the
marker never reached the output. fetchzip runs a package's postFetch with
cwd = $TMPDIR/unpack, which stripRoot has already emptied by moving the
payload to $out, so the file was created in the build tree and discarded
with it.

The extension's runtime-dependency installer treats a component as
installed only when <installPath>/install.Lock exists. Without it
.roslynCopilot is considered not-installed, so on activation the installer
tries to touch .roslynCopilot/install.Begin. On a read-only store
(mutableExtensionsDir = false) that fails with EROFS and the extension
reports that .NET debugging will not be enabled.

Writing the marker into $out changes the fetch output, hence the new hash.

Assisted-by: Claude Code (Claude Opus 4.8)
2026-07-24 15:17:04 +02:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
R. Ryantm
748df12279 vscode-extensions.ms-dotnettools.csharp: 2.131.79 -> 2.140.8 2026-05-21 19:05:15 +00:00
GGG
b14aead247 vscode-extensions.ms-dotnettools.csharp: drop ggg as maintainer 2026-04-05 17:09:06 -03:00
GGG
2baa46ae0b vscode-extensions.ms-dotnettools.csharp: 2.93.22 -> 2.131.79 2026-04-05 16:31:15 -03:00
R. Ryantm
06ae99cd93 vscode-extensions.ms-dotnettools.csharp: 2.90.60 -> 2.93.22 2025-10-14 01:34:27 +00:00
R. Ryantm
f22612621d vscode-extensions.ms-dotnettools.csharp: 2.89.19 -> 2.90.60 2025-09-17 04:34:10 +00:00
GGG
378be5d2d7 vscode-extensions.ms-dotnettools.csharp: 2.87.31 -> 2.89.19 2025-08-22 17:04:12 -03:00
R. Ryantm
ccd90a5627 vscode-extensions.ms-dotnettools.csharp: 2.84.19 -> 2.87.31 2025-08-08 14:55:51 +00:00
R. Ryantm
49ab2164fe vscode-extensions.ms-dotnettools.csharp: 2.80.16 -> 2.84.19 2025-07-04 02:23:50 +00:00
R. Ryantm
079231dfe7 vscode-extensions.ms-dotnettools.csharp: 2.76.27 -> 2.80.16 2025-06-04 18:28:27 +00:00
emaryn
b6379913eb vscode-extensions.ms-dotnettools.csharp: 2.72.34 -> 2.76.27 2025-05-15 06:25:13 +00:00
emaryn
04fa62d4f9 vscode-extensions.ms-dotnettools.csharp: remove update script 2025-05-15 06:25:13 +00:00
GGG
24090ebb6a vscode-extensions.ms-dotnettools.csharp: fix license.
Initially the C# extension was fully open source and had the MIT license, however, after changing to the Roslyn language server and adding the vsdbg binary, it has switched to a non-free license. It even has builtin guards against running on non-microsoft VSCode builds now.
Some things in the C# extension can be built from source, but the debugging layer is fully based on vsdbg which is part of Visual Studio which is proprietary, so the extension as a whole is unfree because of it.
2025-05-05 12:21:56 -03:00
GGG
0b41e43fe9 vscode-extensions.ms-dotnettools.csharp: fix .NET patching. 2025-05-05 12:20:02 -03:00
R. Ryantm
3b5657f2cb vscode-extensions.ms-dotnettools.csharp: 2.72.27 -> 2.72.34 2025-04-16 09:02:07 +00:00
GGG
4470e9f495 vscode-extensions.ms-dotnettools.csharp: 2.69.25 -> 2.72.27 2025-04-08 17:39:09 -03:00
R. Ryantm
4409a60fdc vscode-extensions.ms-dotnettools.csharp: 2.63.32 -> 2.69.25 2025-03-26 23:41:23 +00:00
R. Ryantm
f71056ce9a vscode-extensions.ms-dotnettools.csharp: 2.61.28 -> 2.63.32 2025-02-17 22:54:31 +00:00
R. RyanTM
864f89f98b vscode-extensions.ms-dotnettools.csharp: 2.55.29 -> 2.61.28 (#376090) 2025-01-23 20:02:28 +05:30
GGG
620b6a0679 vscode-extensions.ms-dotnettools.csharp: 2.39.29 -> 2.55.29
Also converted the dynamic info to a JSON file and implemented an update script to automatically update it.
2024-12-12 20:46:08 -03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
GGG
a52a1ccdfb vscode-extensions.ms-dotnettools.csharp: 2.34.12 -> 2.39.29 2024-07-29 11:13:31 -03:00
GGG
0d8f914b6b vscode-extensions.ms-dotnettools.csharp: 2.22.3 -> 2.34.12 2024-06-25 17:10:46 -03:00
éclairevoyant
7bf9febfa6 vscode-extensions.*: format with nixfmt (RFC 166) 2024-05-01 06:00:27 -04:00
V
710ddf0ba9 vscode-extensions.*: use hash attribute for SRI hashes
This is a purely syntactical change and should not result in the
recompilation of any packages.

Change-Id: I07adad25402eb0cc84307cab80b74225a11df81d
2024-04-05 23:38:06 +02:00
GGG
c2b1adb984 vscode-extensions.ms-dotnettools.csharp: 1.25.4 -> 2.22.3 2024-03-13 11:17:36 -03:00
GGG
36bd410b8f vscode-extensions.ms-dotnettools.csharp: 1.25.0 -> 1.25.4 2023-04-07 23:13:47 -03:00
superherointj
9ec72407a4 vscode-extensions: remove 'with' and normalize lib usage
* Remove 'with'.
  Reasoning: 451dfa6d84

* Normalize lib usage in vscode-extensions.
2023-03-18 16:40:36 -03:00
superherointj
e5005453d3 vscode-extensions: refactor of extensions (#221878)
* vscode-extensions: fix indentation for editorconfig

* vscode-extensions.chenglou92.rescript-vscode: renamed directory

* vscode-extensions.WakaTime.vscode-wakatime: rename directory

* vscode-extensions.hashicorp.terraform: rename directory

* vscode-extensions.ms-python.python: rename directory

* vscode-extensions.sumneko.lua: rename directory

* vscode-extensions.ms-vscode.cpptools: rename directory

* vscode-extensions.ms-vscode-remote.remote-ssh: rename directory

* vscode-extensions.rust-lang.rust-analyzer: rename directory

* vscode-extensions.vadimcn.vscode-lldb: rename directory

* vscode-extensions.ms-dotnettools.csharp: rename directory

* vscode-extensions.ms-vsliveshare.vsliveshare: rename directory

* vscode-extensions.ms-toolsai.jupyter: rename directory
2023-03-18 15:54:49 -03:00