Commit Graph

7 Commits

Author SHA1 Message Date
Aliaksandr
196bcb0c78 stdenv: avoid reimporting bootstrap stages
Select local bootstrap stages once and pass them to custom and cross stage composition.

Assisted-by: codex with gpt-5.6-sol-high
2026-07-18 23:14:53 +03:00
Aliaksandr
3d537076cb stdenv: fix replaceStdenv evaluation
Pass empty crossOverlays from the custom stdenv bootstrap and cover it with a regression test.

Assisted-by: codex with gpt-5.6-sol-high
2026-07-17 05:08:02 +03:00
SandaruKasa
9a35a7efd0 pkgsChecked, pkgsParallel, pkgsStructured: init 2026-06-15 23:47:38 +03:00
DavHau
514529545b tests.top-level: add test for appendOverlays preserving splicing
Ensures that appendOverlays with an empty list returns spliced
packages, so that cross-compilation in NixOS modules works correctly.
2026-03-19 22:05:47 +08:00
Artturin
99d63d01cb tests.top-level.platformEquality: Fix use of alias 2025-10-28 20:09:45 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Ivan Trubach
d4063e0330 pkgs/top-level: use lib.systems.equals for crossSystem
Fixes otherwise equivalent systems being treated as different by
packages that compare `stdenv.*Platform`s using `==` operator.
2023-09-13 07:22:52 +03:00