Commit Graph

108 Commits

Author SHA1 Message Date
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
David McFarland
5a2c4a386e dotnet: don't evaluate missing packages
This allows the update scripts to work when the generated files have
been removed.
2026-05-08 15:12:55 -03:00
David McFarland
016041b0e2 dotnetCorePackages: fix evaluation in cross 2026-04-19 00:34:14 -03:00
David McFarland
25b82b35f8 dotnet: combine binary and source update scripts 2026-04-17 09:57:28 -03:00
David McFarland
928e583edf dotnet: combine binary and source expressions 2026-04-17 09:57:28 -03:00
David McFarland
3a881b7301 dotnetCorePackages.sdk_10_0-source: use 2xx sdk
A source-built 2xx sdk was added, but this alias wasn't using it.
2026-04-07 20:59:08 -03:00
David McFarland
4eee53690d dotnet: combine binary and source release directories 2026-04-07 20:59:08 -03:00
David McFarland
97894997a4 dotnetCorePackages.dotnet_10_0_2xx.vmr: init at 10.0.200 2026-03-14 17:54:16 -03:00
David McFarland
e1ba637f04 dotnetCorePackages.sdk_10_0-bin: 10.0.103 -> 10.0.200 2026-03-14 13:31:28 -03:00
David McFarland
cfae040bb0 dotnet-sdk_11: init at 11.0.100-preview.1.26104.118 2026-02-16 19:03:44 -04:00
David McFarland
bf71efdcf1 dotnetCorePackages.sdk_8_0_1xx: stop using binary ilcompiler 2026-02-16 19:03:43 -04:00
David McFarland
cb2ca79bd0 dotnet: improve package fallbacks
In the combined SDK packages, include any packages from the binary SDKs
that aren't available in source builds.  This covers the previous
ILCompiler case, but also new ones like
Microsoft.AspNetCore.App.Internal.Assets.
2026-01-15 15:16:52 -04:00
David McFarland
3c4d7a5f69 dotnetCorePackages.sdk_8_0-bin: 8.0.416 -> 8.0.417 2026-01-14 13:37:14 -04:00
Aliaksandr
03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
David McFarland
afedda5dda dotnetCorePackages.sdk_9_0-bin: 9.0.301 -> 9.0.302 2025-07-11 10:12:17 -03:00
David McFarland
1773a1438c dotnetCorePackages.sdk_9_0-bin: 9.0.203 -> 9.0.300 2025-05-22 18:21:35 -03:00
Konrad Malik
70619b3b29 dotnet: expose update.sh under generate-dotnet-sdk 2025-05-16 10:06:25 +02:00
GGG
84aa2c4d8e dotnetCorePackages.autoPatchcilHook: init 2025-04-10 10:06:57 -03:00
David McFarland
3035099d79 dotnetCorePackages.dotnet_10.vmr: init at 10.0.0-preview.1 2025-03-04 17:10:02 -04:00
David McFarland
d084c2cfa4 dotnet-{sdk,runtime,aspnetcore}_10: init at 10.0.0-preview.1.25080.5 2025-02-26 09:57:22 -04:00
David McFarland
383ceb66d1 dotnetCorePackages.dotnet_9.vmr: 9.0.1 -> 9.0.2 2025-02-18 13:48:32 -04:00
David McFarland
e052beef87 dotnet: use source-built runtime in hybrid SDKs 2025-02-18 13:48:31 -04:00
David McFarland
07271da986 dotnet: default to source-built sdk/runtimes 2025-01-27 14:38:56 -04:00
Emily
3561b1dd74 dotnet-{sdk,runtime,aspnetcore}_{6,7}: mark as EOL
See <https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core>.
2024-11-23 18:29:35 +00:00
David McFarland
343895ba37 dotnet: pin bootstrap SDKs used in stage0 source builds 2024-10-13 10:33:22 -03:00
David McFarland
2c97d67f62 dotnet: split sdk packages by platform 2024-09-24 20:43:24 -03:00
David McFarland
6582132c12 dotnet: format with nixfmt 2024-09-24 20:43:22 -03:00
David McFarland
f820d2cf3c dotnetCorePackages: split fetch-deps logic into addNuGetDeps 2024-09-17 01:12:11 -03:00
David McFarland
e5cb52bd58 buildDotnetGlobalTool: move into dotnetCorePackages 2024-09-06 16:05:19 -03:00
David McFarland
5b31367e13 buildDotnetModule: move into dotnetCorePackages 2024-09-06 16:05:19 -03:00
David McFarland
7ea78aaf5a dotnetCorePackages.fetchNupkg: split from mkNugetDeps 2024-09-05 23:46:23 -03:00
David McFarland
d4776214f7 mkNugetSource/Deps: move into dotnetCorePackages 2024-09-05 23:46:23 -03:00
David McFarland
d3ca5027fa dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00
David McFarland
3328c8b30f dotnet: add support for feature bands in update.sh
This will make e.g. both sdk_8_0_2xx and sdk_8_0_1xx available, with
sdk_8_0 poiting to the latest.
2024-03-30 11:38:40 -03:00
David McFarland
8bb2df361a dotnetCorePackages.dotnet_9: init at 9.0.0-preview.1 2024-03-06 00:21:39 -04:00
David McFarland
64beddbb27 dotnetCorePackages.sdk_9_0: init at 9.0.100-preview.1.24101.2 2024-03-05 18:42:44 -04:00
David McFarland
043eab9a5a dotnetCorePackages.dotnet_8: init at 8.0.2 2024-03-03 15:15:08 -04:00
Silvan Mosberger
12e32d6dbb dotnet-sdk: Don't add attributes when allowAliases disabled 2023-12-22 20:04:05 +01:00
mdarocha
521649a9e4 dotnet-sdk: include Crossgen2 packages in sdk-specific nuget source 2023-06-21 17:06:31 +02:00
mdarocha
43f7cc0df7 dotnet-sdk_3: remove
Also remove all reference to outdated .NET versions.
2023-03-26 14:24:49 +02:00
Jamie Magee
7fcb2ae4b5 dotnet-sdk_8: init at 8.0.100-preview.1.23115.2 2023-02-28 15:35:28 +01:00
mdarocha
5234f4ce93 dotnet-sdk_5: remove package
It's EOL and not used in nixpkgs anymore
2023-01-23 19:16:58 +01:00
David McFarland
627cbab3f4 dotnet: add windows RIDs to systemToDotnetRid 2022-12-19 15:36:26 -04:00
David McFarland
3fdb6c5a90 dotnetCorePackages: move systemToDotnetRid out of sdk 2022-12-19 15:36:25 -04:00
GGG
f50bf58648 dotnetCorePackages.{sdk,runtime,aspnetcore}_7_0: init at {7.0.100-preview.7.22377.5,7.0.0-preview.7.22375.6,7.0.0-preview.7.22376.6} 2022-08-19 09:10:58 -03:00
mdarocha
c3c0fa05fb dotnet-sdk: rename print-hashes.sh to update.sh
New name better reflects its functionality
2022-08-10 16:26:50 +02:00
mdarocha
886280e8a9 buildDotnetModule: include sdk-specific packages in nuget source
Some packages are defined by the build proccess, and change every time
the dotnet-sdk package changes. To avoid having to regenerate every
dependant packages dependencies every dotnet update, this moves these
packages into the `dotnet-sdk` `passthru` attribute, and includes them
every time `buildDotnetModule` is used.
2022-08-10 16:26:43 +02:00
mdarocha
e444b88411 dotnet-sdk: split up versions into separate nix files
This makes it more readable
Also update print-hashes.sh to directly update the files.
2022-08-10 16:21:07 +02:00
mdarocha
4ffb569d92 dotnet-sdk: 6.0.301 -> 6.0.302 2022-08-10 16:21:07 +02:00