Commit Graph

24752 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
438e9657d0 Merge staging-next into staging 2026-05-12 00:36:50 +00:00
nixpkgs-ci[bot]
338a431219 Merge master into staging-next 2026-05-12 00:36:18 +00:00
Sandro
776e33183a flutter: add shell completions (#509723) 2026-05-12 00:07:44 +00:00
Eman Resu
5c17c2d6ce gcc: remove unused variables 2026-05-11 19:27:46 -04:00
Eman Resu
5f7ff1085a gcc: pass result of lib.systems.equals around rather than recomputing 2026-05-11 19:27:43 -04:00
Tristan Ross
e7a2de31d6 flutter: 3.41.6 -> 3.41.9 (#518904) 2026-05-11 20:04:33 +00:00
nixpkgs-ci[bot]
9bca079625 Merge staging-next into staging 2026-05-11 16:11:04 +00:00
nixpkgs-ci[bot]
cdaa8f2aeb Merge master into staging-next 2026-05-11 16:10:22 +00:00
Emily
c18d40d4e5 gcc: drop obsolete Musl Go patches
These are present in GCC 13, GCC 12 was removed, and `pkgsMusl.gccgo`
fails to evaluate right now anyway.
2026-05-11 16:42:43 +01:00
Alyssa Ross
d2a5a9c051 flang: update support and add flang-rt (#452306) 2026-05-11 14:28:54 +00:00
Xiangyan Sun
be1817333d llvmPackages_22.libc: fix by using hdrgen unconditionally 2026-05-11 02:37:58 -07:00
Tristan Ross
7073f2042e llvmPackages_git: 23.0.0-unstable-2026-05-03 -> 23.0.0-unstable-2026-05-10 2026-05-10 21:29:06 -07:00
R. Ryantm
7fe56c8fe4 flutter: 3.41.6 -> 3.41.9 2026-05-11 00:57:00 +00:00
K900
41e3cd9cdb Merge remote-tracking branch 'origin/master' into staging-next 2026-05-10 21:22:57 +03:00
Ben Siraphob
869d641281 treewide: replace stdenv.is* with stdenv.hostPlatform.is* 2026-05-10 10:06:35 -07:00
David McFarland
b03c6ea7c0 dotnet: build only source-build-reference-packages in fetch-deps
This is all that's needed in practice to populate deps.json, and it's
much faster.
2026-05-09 19:54:29 -03:00
David McFarland
a8b0452599 dotnet: reduce update time
The update bot is currently failing to update dotnet due to fetch-deps
30m.

- add a --vmr-bootstrap flag to binary/update.sh

This allows us to skip a bunch of packages and platforms that aren't
needed for bootstrapping the VMR.  We also add the IL[D]Asm packages
that were previously in deps.json for versions 9+.

- disable fetch-deps in versions 9+.
2026-05-09 19:54:29 -03: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
f72ac56df2 dotnet: fix indentation in update scripts 2026-05-08 15:04:05 -03:00
nixpkgs-ci[bot]
b4f955537a Merge master into staging-next 2026-05-08 16:24:37 +00:00
Marcin Serwin
7180ad0fbc mbedtls_2: drop (#517426) 2026-05-08 15:32:06 +00:00
username-generic
9c3db7cffb flutter: add shell completions 2026-05-08 11:28:49 +02:00
Vladimír Čunát
20fe9246cb Merge branch 'staging' into staging-next
In particular I wanted the security bump of go
2026-05-08 08:36:46 +02:00
K900
7a535c8c93 Merge remote-tracking branch 'origin/master' into staging-next 2026-05-08 09:27:15 +03:00
Ryan Burns
bc672dd0eb mrustc.bootstrap: fix build
Upstream mrustc now supports building with 1.90, so we can get this
working again. Tested full bootstrap build, appears to be functional.
2026-05-07 17:59:39 -07:00
Tom Herbers
f71a37203b go_1_25: 1.25.9 -> 1.25.10
Changelog: https://go.dev/doc/devel/release#go1.25.minor
2026-05-07 19:02:35 +02:00
Tom Herbers
5d2d08ceef go_1_26: 1.26.2 -> 1.26.3
Changelog: https://go.dev/doc/devel/release#go1.26.minor
2026-05-07 19:00:11 +02:00
7c6f434c
4d485d0194 sbcl: 2.6.3 -> 2.6.4 (#517483) 2026-05-07 07:34:26 +00:00
R. Ryantm
6e412e34e2 dart-bin: 3.11.4 -> 3.11.6 2026-05-07 00:54:14 +00:00
nixpkgs-ci[bot]
b8e9c19be7 Merge staging-next into staging 2026-05-07 00:37:23 +00:00
Hraban
fa663cfd28 sbcl: 2.6.3 -> 2.6.4 2026-05-06 20:26:32 -04:00
Leona Maroni
4be745c948 haxe_4_1: drop
EOL since 2021 and uses EOL version of mbedtls
2026-05-06 22:21:22 +02:00
Leona Maroni
95b5d5dc76 haxe_4_0: drop
EOL since 2020
2026-05-06 22:21:00 +02:00
Leona Maroni
f0f6ab7316 haxe: 4.3.6 -> 4.3.7 (#508350) 2026-05-06 19:55:49 +00:00
Artemis Tosini
a0930874f3 mrustc: 0.11.2 -> 0.12.0 (#511058) 2026-05-06 18:26:51 +00:00
nixpkgs-ci[bot]
122be4c160 Merge staging-next into staging 2026-05-06 12:39:25 +00:00
Alyssa Ross
39d9e4fcf3 llvmPackages_22: 22.1.2 -> 22.1.5 (#517002) 2026-05-06 09:40:40 +00:00
nixpkgs-ci[bot]
c52ceee64a Merge staging-next into staging 2026-05-06 06:56:54 +00:00
7c6f434c
8c2cf2f4f1 ecl: 26.3.27 -> 26.5.5 (#516817) 2026-05-06 05:42:45 +00:00
Tristan Ross
569248d0e0 llvmPackages_22: 22.1.2 -> 22.1.5 2026-05-05 12:41:53 -07:00
nixpkgs-ci[bot]
b72c2380c9 Merge staging-next into staging 2026-05-05 12:27:29 +00:00
sternenseemann
8135c22b33 ecl: 26.3.27 -> 26.5.5
https://ecl.common-lisp.dev/posts/ECL-2655-release.html
2026-05-05 13:06:16 +02:00
David McFarland
24fc2a4b9c dotnetCorePackages.sdk_10_0: 10.0.202 -> 10.0.203 2026-05-04 13:43:16 -03:00
David McFarland
a24c8ffbd5 dotnetCorePackages.sdk_11_0: add missing release blobs 2026-05-04 13:43:04 -03:00
nixpkgs-ci[bot]
2a3c2c2d92 Merge staging-next into staging 2026-05-04 12:36:17 +00:00
Acture
7e8258d3af llvm/mlir: fix MLIRConfig.cmake to support external tablegen overrides
MLIRConfig.cmake unconditionally overwrites MLIR_TABLEGEN_EXE and does
not create an imported target, breaking standalone builds that provide
their own mlir-tblgen binary (e.g. Nix sandboxed builds).

The patch adds guards to respect caller-set MLIR_TABLEGEN_EXE,
MLIR_PDLL_TABLEGEN_EXE, and MLIR_SRC_SHARDER_TABLEGEN_EXE values, and
auto-creates an imported mlir-tblgen target for downstream consumers.
This replaces the previous dummy-target workaround in flang's
CMakeLists.txt.

Upstream issue: https://github.com/llvm/llvm-project/issues/150986

Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
2026-05-04 18:06:37 +08:00
Acture
1ba36147a8 flang: package standalone flang with LLVM 20+ driver fixes
Wire flang into llvmPackages as a first-class Fortran compiler. flang
is built standalone on top of the LLVM/clang package set rather than
bundled into the llvm derivation, with passthru metadata
(`langFortran`, `isFlang`, `isClang`, `hardeningUnsupportedFlags`) so
cc-wrapper and downstream tooling can detect and adapt to it.

Driver compatibility patches backported from upstream are applied
selectively per LLVM version:

  * `use-xflang-in-diagnostics` is applied to LLVM 20 and newer; it
    teaches the driver to suggest `-Xflang` instead of `-Xclang` in
    error messages for options only available to `flang -fc1`.
  * `warn-on-fbuiltin-and-fno-builtin` and
    `accept-and-ignore-some-gfortran-optimization-flags` are applied
    to LLVM 20 and 21 only. LLVM 22 has equivalent behaviour merged
    upstream (`warn_drv_invalid_argument_for_flang` and
    `clang_ignored_gcc_optimization_f_Group` handling in
    clang/lib/Driver/ToolChains/Flang.cpp), so the patches are skipped
    there.

Patches live under pkgs/development/compilers/llvm/21/flang/ and are
shared across versions via patches.nix. They are applied to a private
libclang variant rather than the flang source tree because standalone
flang resolves driver/option definitions through the installed libclang
package.

Two focused passthru tests are added:

  * `compile-smoke` exercises basic compilation and `@response-file`
    handling.
  * `driver-flags` covers wrapper flag isolation
    (`NIX_CFLAGS_COMPILE` must not leak into flang;
    `NIX_FFLAGS_COMPILE` must reach it), the backported driver
    diagnostics, and regression coverage for previously hard-erroring
    flags.

Build on the earlier standalone flang work by @picostove.

Co-authored-by: stove <stove@rivosinc.com>
Co-authored-by: acture <acture@gmail.com>
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2026-05-04 18:06:36 +08:00
Acture
324f837bf1 flang-rt: add runtime package
Add a standalone derivation for LLVM's flang-rt runtime libraries
(libFortranRuntime, libFortranDecimal). flang-rt is a runtimes-style
package: building it requires running a working flang binary at *build*
time, but the produced libraries are linked into derivations targeting
the *host*.

The runtime is therefore wired up using `buildFlang`, sourced from
`buildLlvmPackages.flang-unwrapped` so that the build-platform flang
(spliced via the LLVM package set) compiles the runtime, while the
resulting libraries are still produced for the host platform. This
mirrors the existing `buildLlvmTools.tblgen` / `buildLlvmPackages.tblgen`
pattern used elsewhere in the LLVM package set.

`unwrapped` rather than the wrapped flang is used because flang-rt's
CMake glue invokes the compiler directly and does not need (or want)
Nix's cc-wrapper resource-dir and rpath plumbing during the runtime
build.

flang-rt only consumes LLVM's CMake helpers and the build-time flang;
it does not link against MLIR or libclang, so neither MLIR_DIR nor
CLANG_DIR is passed and the unused empty `dev` output is omitted.

Co-authored-by: stove <stove@rivosinc.com>
Co-authored-by: acture <acture@gmail.com>
2026-05-04 18:06:35 +08:00
Acture
6014579a95 clang, cc-wrapper: make wrapper flang-aware
Build on the initial LLVM Flang wrapper work by exposing the needed clang passthru and teaching cc-wrapper about flang-specific flag handling.

Co-authored-by: stove <stove@rivosinc.com>
Co-authored-by: acture <acture@gmail.com>
Co-authored-by: Emily <hello@emily.moe>
Co-authored-by: Philip Taron <philip.taron@gmail.com>
2026-05-04 18:05:42 +08:00
Alyssa Ross
8150c3151e llvmPackages_git: 23.0.0-unstable-2026-04-19 -> 23.0.0-unstable-2026-05-03 (#513861) 2026-05-04 08:09:29 +00:00