Commit Graph
1190 Commits
Author SHA1 Message Date
Andreas Rammhold 1f248f342b tests.problems: Fix invalid-kind-error failure
With 8fcbb35929 all problem kinds are
being used in the error messages. The expected messages were still
missing the `maintainerless` kind.
2026-07-13 13:39:20 +02:00
Andreas Rammhold 4aef6f76d4 tests.problems: adjust test code for oldestSupportedRelease=26.05
In 53cd6f263c the oldestSupportedRelease
version was bumped to 26.05 which caused the meta/problems tests to
fail because the `config.allowBrokenPredicate` is now deprecated and
the code is warning about it.
2026-07-13 13:38:53 +02:00
Gutyina Gergő 0bcf0134e1 tests/pnpm: regenerate hash for pnpm-fixup-state-db
SQLite update changed the format of the raw DB (which this test uses)
and also the dump format. Supported `fetcherVersion`s in `fetchPnpmDeps`
no longer rely on the raw DB file being stable, so it's fine to update this hash.
2026-07-07 14:35:19 +02:00
Gutyina Gergő de25c842e5 fetchPnpmDeps: drop fetcherVersion = 3 for pnpm_11 and the related test 2026-07-07 14:35:19 +02:00
Martin Weinelt 9ade44f1d4 Merge remote-tracking branch 'origin/staging' into staging-next
Conflicts:
- pkgs/top-level/nixpkgs-basic-release-checks.nix
2026-06-27 01:13:12 +02:00
Silvan Mosberger eba1d51352 meta.problems: Internal refactoring
Makes future changes easier
2026-06-19 18:58:10 +02:00
nixpkgs-ci[bot]andGitHub 0de070ddee Merge staging-next into staging 2026-06-16 07:59:06 +00:00
Matt SturgeonandGitHub 84588fd5b8 pkgsChecked, pkgsParallel, pkgsStrict, pkgsStructured: init (#531835) 2026-06-16 06:11:50 +00:00
SandaruKasa 9a35a7efd0 pkgsChecked, pkgsParallel, pkgsStructured: init 2026-06-15 23:47:38 +03:00
nixpkgs-ci[bot]andGitHub 081b93be33 Merge staging-next into staging 2026-06-15 19:21:46 +00:00
Michael Daniels 3a5c240ffe tests.replaceVars: fix group mismatches
This fixes group mismatches observed on Darwin, e.g.:

```
replaceVars-succeeds
--- /nix/store/wahj58fiii5j1jy6s9mpbdyxzhq3plnb-source.txt
+++ /nix/store/bfmykrc9r5ycy0dj8l1z2p9c5116dny8-expected
├── stat {}
│ @@ -1,7 +1,7 @@
│
│    Size: 96        	Blocks: 0          IO Block: 4096   directory
│ -Device: 1,15	Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/   wheel)
│ +Device: 1,15	Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (  350/  nixbld)
│
│  Modify: 1970-01-01 00:00:01.000000000 +0000
```
2026-06-14 12:06:11 -04:00
nixpkgs-ci[bot]andGitHub 59fccc960c Merge staging-next into staging 2026-06-14 07:38:15 +00:00
adisbladisandGitHub 0e62149625 stdenv/problems: only run problem if it's not ignored (#519600) 2026-06-14 06:27:38 +00:00
nixpkgs-ci[bot]andGitHub e3a2cd0596 Merge staging-next into staging 2026-06-11 13:19:31 +00:00
Gutyina Gergő 994e6bd462 tests/pnpm: add opencloud 2026-06-11 14:53:45 +02:00
nixpkgs-ci[bot]andGitHub 78e362a433 Merge staging-next into staging 2026-06-11 00:48:37 +00:00
Gergő GutyinaandGitHub d6913b3b7c pnpmConfigHook: add support for __structuredAttrs = true (#528517) 2026-06-10 21:53:32 +00:00
nixpkgs-ci[bot]andGitHub 16753a2419 Merge staging-next into staging 2026-06-10 07:31:29 +00:00
Yueh-Shun LiandGitHub f3c00d2737 tests.overriding: attach fetchgit tests (#528679) 2026-06-10 06:01:27 +00:00
Yueh-Shun Li eb76b98770 tests.overriding: tests-fetchurl: use generated non-zero hashes
Don't use zero hashes where the hash is supposed to be non-zero.

Don't depend on nix.src.hash as nix.src might be wrapped to accept patches.
2026-06-08 15:23:38 +08:00
Yueh-Shun Li 7328b0d9f1 tests.overriding: tests-fetchgit: use generated non-zero hashes
Don't use zero hashes where the hash is supposed to be non-zero.

Don't depend on nix.src.hash as nix.src might be wrapped to accept patches.
2026-06-08 15:23:38 +08:00
TANIGUCHI KoheiandAndré Lima b7367f5407 pkgs/test/pnpm: test pnpmConfigHook with multiple pnpmWorkspaces under __structuredAttrs
Assisted-by: Claude Code (Claude Opus 4.8) <noreply@anthropic.com>
2026-06-07 19:41:04 +01:00
nixpkgs-ci[bot]andGitHub 6d151c9ef3 Merge staging-next into staging 2026-06-07 18:29:16 +00:00
HexoKnight 3cf8ae56a2 vimPlugins.*: ensure passthru.vimPlugin = true 2026-06-06 17:31:12 +01:00
nixpkgs-ci[bot]andGitHub 566982b70a Merge staging-next into staging 2026-06-06 12:29:09 +00:00
Gergő GutyinaandGitHub 3604c8c851 pnpm: switch to nodejs-slim (#514575) 2026-06-06 10:46:45 +00:00
Yueh-Shun Li c781661674 tests.overriding: attach fetchgit tests
tests-fetchgit was implemented in commit 4e37d03ba2
("fetchgit: reference hash from finalAttrs.hash"),
but not attach to tests.overriding,
hence this fix.
2026-06-06 15:06:36 +08:00
Antoine du Hamel 36b6c90e6b pnpm: switch to nodejs-slim 2026-06-06 00:36:37 +02:00
K900andGitHub 336a60dc3a wrapQtAppsHook: support structuredAttrs (#526277) 2026-06-04 12:12:53 +00:00
Matt Sturgeon 75a1c47a4e tests.{qt5,qt6}.wrapQtAppsHook: add coverage
Test that wrapQtAppsHook:
- normalizes qtWrapperArgs to a bash array
- preserves user-supplied wrapper arguments
- appends the expected Qt wrapper arguments
- produces wrappers with the expected runtime behaviour
2026-06-04 01:43:31 +01:00
Eman Resu 41bafcbc34 stdenv/problems: reverse parameter order for handlerForProblem
kind and name are more likely to stay the same. Doing this allows us to
cache the kind and name when calling the handler for a problem.
2026-06-01 23:05:13 -04:00
Emilyandzowoq 0c19eb3e55 lib/systems: unify ARMv5 platforms with stock kernel configuration
The `sheevaplug` kernel configuration was added a very long time
ago and has not been adjusted for years. `pogoplug4` was identical
to `sheevaplug` except for an even more stripped‐down kernel
configuration, no device tree support, and a different load address
for the uImage.

These days, the stock kernel configuration builds and there has been
an upstream device tree for the Pogoplug Series 4 for years; unify
`sheevaplug` and `pogoplug4` into an `armv5tel-multiplatform` that
uses the standard configuration.

ARMv5 was also the only platform that defaulted to uImage, the [legacy
U‐Boot image format] that is deprecated upstream. Our bootloader
machinery in NixOS does not handle these images in any special way
and even the original ARMv6 Raspberry Pi platform defaults to the
standard zImage. We switch `armv5tel-multiplatform` to zImage to match.

[legacy U‐Boot image format]: https://docs.u-boot.org/en/latest/usage/cmd/bootm.html#legacy-boot

It is of course natural to worry about backwards compatibility
here: this switches to a different kernel image format and drops
support for root on NFS along with random oddities like KGDB and
LatencyTOP. Renaming the platform is intended to help mitigate
this risk.

The reality, however, is that it is currently very
difficult to build a configuration for ARMv5. I found
<https://github.com/thefloweringash/sheevaplug-nix> online as
an example configuration from many years ago; it already set
`autoModules`, and builds U‐Boot using `CONFIG_DISTRO_DEFAULTS`,
which should work out of the box without requiring the legacy U‐Boot
image format.

Even then, however, I confirmed with the author that it hasn’t
been used in years, and I could barely get it to build with
a modern Nixpkgs: OpenSSH is broken, Nix is broken, multiple
default `environment.systemPackages` in the SD image profile
are broken, `boot.initrd.includeDefaultModules` is broken, and
`hardware.enableAllHardware` is broken.

I conclude that if anyone is actively building systems on ARMv5, they
have a forked Nixpkgs or a very custom setup. Given our general move
to standard boot chains and no platform‐specific hacks, and the
decaying state of our unofficial support for 32‐bit ARM, I think
it is not worth maintaining support for the legacy image format for
this one ancient platform.

If anyone is running a heavily stripped‐down NixOS configuration on
mission‐critical SheevaPlugs using a custom Nix‐free deployment
setup relying on the legacy U‐Boot image format and somehow none
of these kernel changes manage to loudly break their build, hopefully
they’ll at least notice the release notes entry! Otherwise there’s
always JTAG…
2026-06-01 11:12:17 +10:00
Emilyandzowoq 1c935b9fd9 lib/systems: drop gnu64_simplekernel
This was unused apart from a commented‐out test, and we’re moving
away from specifying kernel configuration in the platform structure.
2026-05-30 14:12:51 +10:00
Eman Resu 5c89ab858d stdenv/problems: only run problem if it's not ignored 2026-05-25 23:59:00 -04:00
Dmitry KalinkinandGitHub 383c59fb0e texlive: merge withDocs, tlDeps updates and remove texlive.combine from the documentation (#523350) 2026-05-24 16:27:43 +00:00
Maciej KrügerandSefa Eyeoglu 6f77647495 tests.pnpm: add pnpm_11_v4 test for fetcherVersion 4
Tests the SQLite dump/reconstruct code path introduced in fetcherVersion 4,
which ensures reproducibility of the pnpm v11 store index.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-23 22:13:34 +02:00
Maciej KrügerandSefa Eyeoglu f09853e8b7 tests.pnpm: rename pnpm_11 test to pnpm_11_v3
Make the fetcher version explicit in the test name in preparation for
adding a v4 test.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-23 22:13:33 +02:00
Vincenzo Mantova 96c9b622de tests.texlive.texdoc: use withDocs to add the doc containers 2026-05-23 13:50:52 +01:00
Vincenzo Mantova 62b7051f28 texlive.withPackages: use buildenv (finalAttrs: ...) 2026-05-23 13:50:51 +01:00
David McFarlandandGitHub 181ff51f7c dotnet: may 2026 releases (#519768) 2026-05-20 13:00:25 +00:00
David McFarland 09e729e4c2 tests.dotnet.cross-target: stop hiding dotnet output 2026-05-19 20:48:46 -03:00
David McFarland a22d69dd99 tests.dotnet.cross-target: use only target runtime 2026-05-19 20:48:45 -03:00
David McFarland fab3af84d2 tests.dotnet.cross-target: override runtime pack versions
This fixes failures when the bundled pack versions don't match what's in
nixpkgs.
2026-05-19 20:48:45 -03:00
David McFarland c04a460d19 tests.dotnet.cross-target: include target sdk version in name 2026-05-19 20:48:45 -03:00
David McFarland c82bc74bcb dotnet: remove cross-target tests from broken SDKs 2026-05-19 20:48:45 -03:00
Dmitry KalinkinandGitHub 5a6d82aa43 texlivePackages.l3build: inject path to system texmf.cnf (#521018) 2026-05-19 23:47:50 +00:00
Vincenzo Mantova 8bde9f913c tests.texlive.l3build: init 2026-05-16 17:54:21 +01:00
Pol DellaieraandGitHub 620dc83554 php: fix infinite recursion with overrideAttrs (#511341) 2026-05-15 08:31:22 +00:00
Sefa Eyeoglu 342203f139 tests.pnpm.pnpm_11: fix binary
During refactoring, we forgot to update the lib path in the wrapper.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-12 22:45:19 +02:00
Sefa Eyeoglu 7d318dfe3b pnpm_11: init at 11.1.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-11 23:13:15 +02:00