1168 Commits

Author SHA1 Message Date
Gutyina Gergő 994e6bd462 tests/pnpm: add opencloud 2026-06-11 14:53:45 +02:00
Gergő Gutyina d6913b3b7c pnpmConfigHook: add support for __structuredAttrs = true (#528517) 2026-06-10 21:53:32 +00:00
Yueh-Shun Li 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 Kohei 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
HexoKnight 3cf8ae56a2 vimPlugins.*: ensure passthru.vimPlugin = true 2026-06-06 17:31:12 +01:00
Gergő Gutyina 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
Emily 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
Emily 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
Dmitry Kalinkin 383c59fb0e texlive: merge withDocs, tlDeps updates and remove texlive.combine from the documentation (#523350) 2026-05-24 16:27:43 +00:00
Maciej Krüger 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üger 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 McFarland 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 Kalinkin 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 Dellaiera 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
Sefa Eyeoglu 9212518207 pnpm-fixup-state-db: init at 1.0.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-11 18:09:20 +02:00
Martin Weinelt 6cba250893 Revert "Reapply "nixos/nixpkgs.config: make use of the module defined in config.nix"" 2026-05-10 20:27:56 +02:00
Johannes Kirschbauer 3eec0ac0dc pkgs/test/config-nix-unit: use builtins.path with stable name 2026-05-09 12:52:12 +02:00
Johannes Kirschbauer 86cd4e7bc8 Reapply "nixos/nixpkgs.config: make use of the module defined in config.nix"
This reverts commit a06a6caa6b.
2026-05-07 19:11:47 +02:00
K900 a06a6caa6b Revert "nixos/nixpkgs.config: make use of the module defined in config.nix" 2026-05-07 15:38:29 +03:00
Robert Hensing a0ffa8bf93 nixos/nixpkgs.config: make use of the module defined in config.nix (#489889) 2026-05-07 10:33:20 +00:00
Johannes Kirschbauer 1d1e96211e nixos/nixpkgs.config: use deferredModule to avoid double evaluation
Switch the option type to `deferredModuleWith`, which collects definitions without evaluating them.
The raw definitions are forwarded to nixpkgs function via a new internal `_configDefinitions` parameter.

`apply` on the option returns `finalPkgs.config`, preserving
backwards compatibility for external readers of `config.nixpkgs.config`
2026-05-04 10:05:11 +02:00
Sam Pointon 37955437a7 fetchPnpmDeps: don't fail on empty lockfile
If the lockfile is empty, no files will be put in the output directory. 
In this case, the find invocations produce an empty list of results. 
xargs' default behaviour is to always invoke its command at least once; 
if its input is empty, then its command will not be passed any 
filenames. This produces an invocation like `chmod 555`. chmod, however, 
fails in this case, expecting an operand. So we need to tell xargs not 
to invoke its command at all in the case of empty input.
2026-04-26 19:33:22 +01:00
Yueh-Shun Li e7eb6868d5 overridePythonAttrs: support extension-style newArgs
Allow overridePythonAttrs to take `finalAttrs: args: { }`.
2026-04-26 17:44:11 +08:00
Yueh-Shun Li d4956bb361 tests.overriding: add overridePythonAttrs-plain 2026-04-26 17:44:11 +08:00
Piotr Kwiecinski f696ae3c91 php: fix infinite recursion with overrideAttrs 2026-04-19 12:13:13 +02:00
nixpkgs-ci[bot] 01ca72d322 Merge master into staging-next 2026-04-18 18:13:38 +00:00
David McFarland e8e2791a87 dotnet: april 2026 releases (#504538) 2026-04-18 12:40:26 +00:00
David McFarland 37b5be744f test/dotnet: add cross-target test 2026-04-17 09:57:28 -03:00
nixpkgs-ci[bot] e3de80b94e Merge master into staging-next 2026-04-12 06:34:02 +00:00
Martin Weinelt 62148d3046 tests.home-assistant-components: shorten attrset name
from tests-home-assistant-component-tests.
2026-04-12 02:07:26 +02:00
nixpkgs-ci[bot] 43334c384f Merge master into staging-next 2026-04-07 17:28:11 +00:00
Jonas Chevalier 6ed003c564 appendOverlays: preserve splicing on empty overlay list (#501313) 2026-04-07 14:19:48 +00:00
nixpkgs-ci[bot] e8b5c14b83 Merge staging-next into staging 2026-04-06 06:39:57 +00:00
Will Fancher d5fb4a5f56 nixos/filesystems: Remove default = "auto" from fsType (#444829) 2026-04-06 01:46:00 +00:00
Will Fancher f8ed5f30c0 nixos/filesystems: Remove default = "auto" from fsType
NixOS has traditionally enabled the `ext` family of file systems by
default. Originally, when switching to systemd initrd, we wanted to
transition to making this explicit so that initrds could be made
without `ext`. The problem is that anyone with `fsType = "auto";` for
an `ext` file system in initrd will fail to boot, which is not really
an acceptable regression as we switch to systemd initrd by default.

By removing `default = "auto"` from `fsType`, we rule out the vast
majority of these regressions as eval errors, since most users of
`fsType = "auto"` for ext file systems are using it because of the
default value.

In hindsight, this is probably what #225352 was really about.
2026-04-05 19:06:28 -04:00
nixpkgs-ci[bot] 678aab4bed Merge staging-next into staging 2026-04-05 06:28:22 +00:00