11874 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
05f8fecd66 various: fix darwin builds and unbreak (4/4) (#581958) 2026-11-04 23:08:11 +00:00
Logan Devine
decab438fe dapl: unbreak on darwin 2026-11-04 13:12:39 -08:00
Skye Soss
0f90372bd4 treewide: Use the OR compound license expression
This commit replaces every use of '# or' in a license list with the
lib.licenses.OR compound license constructor.

Assisted-by: claude-opus-5-5
2026-11-03 16:32:28 -06:00
Nicolas Benes
448d5637ed pythonDocs: 3.15.1 -> 3.15.2 2026-10-31 01:36:38 +01:00
Adam C. Stephens
94dc3ec1d7 beamPackages.elixir_1_20: 1.20.4 -> 1.20.5
Changelog: https://github.com/elixir-lang/elixir/releases/tag/v1.20.5
2026-10-30 14:54:55 -04:00
Adam C. Stephens
943c4b1aca beamPackages.elixir_1_19: 1.19.6 -> 1.19.7
Changelog: https://github.com/elixir-lang/elixir/releases/tag/v1.19.7
2026-10-30 14:54:40 -04:00
Adam C. Stephens
aa373ca730 beamPackages.elixir_1_18: 1.18.5 -> 1.18.6
Changelog: https://github.com/elixir-lang/elixir/releases/tag/v1.18.6
2026-10-30 14:54:24 -04:00
OPNA2608
e25ae6484a {luajit_2_1,luajit_2_0}: Mark s390x-linux as unsupported
Issue has been open on GitHub for more than a decade. OpenResty fork seems to have *some* support for it.
2026-10-30 17:13:20 +01:00
Sandro
1a8b2098ae treewide: fix python makeWrapperArgs with __structuredAttrs (#575801) 2026-10-28 00:46:46 +00:00
Matt Sturgeon
b80ce62850 buildPythonPackage: move assertions to meta.problems to optimise and expand coverage (#576379) 2026-10-27 20:50:09 +00:00
Yueh-Shun Li
d11b0ac1c4 buildPythonPackage: handle checkPhase -> installCheckPhase with a dynamic nulling attribute
Avoid unnecessary set merging.
2026-10-27 19:04:16 +08:00
Yueh-Shun Li
3383efb570 buildPythonPackage: move enabledTest* assertions to meta.problems
And expand to cover finalAttrs.

Co-authored-by: Eman Resu <elevenaka11@gmail.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-10-27 19:04:15 +08:00
Yueh-Shun Li
91c11834a8 buildPythonPackages: extend pytestFlagsArray deprecation error to overrideAttrs
With the help of `meta.problems`.

Add position only when pytestFlagsArray are also non-empty
in buildPythonPackage/overridePythonAttrs arguments.
2026-10-27 19:04:15 +08:00
Yueh-Shun Li
ae525ed194 buildPythonPackage: mark pytestFlagsArray deprecation with meta.problems
Mark existing pytestFlagsArray in args with
`meta.problems.buildPythonPackage-deprecated-pytestFlagsArray`.

Drop the improvised `deprecatedFlagNotEmpty`.
2026-10-27 19:04:07 +08:00
Rine Amakawa
6b01148e2e treewide: fix python makeWrapperArgs with __structuredAttrs
buildPythonPackage and buildPythonApplication now default to
__structuredAttrs = true, so makeWrapperArgs reaches wrapPythonPrograms
as a real bash array. Elements are no longer word-split or
shell-expanded, which breaks three common patterns:

- several arguments packed into one string, such as
  "--prefix PATH : ${...}", which makeWrapper rejects with
  "makeWrapper doesn't understand the arg ..."
- "\${gappsWrapperArgs[@]}" or "\${qtWrapperArgs[@]}" as list
  elements, which also fail the build
- build-time shell variables ($out, $PYTHONPATH, $GI_TYPELIB_PATH, ...)
  and shell quoting inside elements. These build fine but end up as
  literal strings in the wrapper, e.g. beets got
  export GI_TYPELIB_PATH='$GI_TYPELIB_PATH', and gam's --run lines
  became single-quoted commands that abort the wrapper.

Split packed strings into one element per argument, append the
gapps/qt wrapper args in preFixup, use placeholder "out" instead of
$out, move other build-time variables into preFixup, and drop the
now-literal quotes.

Also fix the makeWrapperArgs example in the python propagated-inputs
warning.

Assisted-by: Claude Code (Claude Opus 5.5)
2026-10-27 14:36:08 +09:00
Robbe Van Petegem
13e9a147e7 ruby_4_0: 4.0.7 -> 4.0.9
https://github.com/ruby/ruby/releases/tag/v4.0.8
https://github.com/ruby/ruby/releases/tag/v4.0.9
2026-10-23 09:25:41 +02:00
Michael Daniels
ba6391671b various: migrate to pkgs/by-name (part 3) 2026-10-22 19:30:46 -04:00
Michael Daniels
b0d011a5c3 various: migrate to pkgs/by-name (part 2) 2026-10-22 19:30:46 -04:00
Piotr Kwiecinski
38991a250a php86: 8.6.0RC3 -> 8.6.0RC4
Changes: https://github.com/php/php-src/blob/php-8.6.0RC4/NEWS

RC4 fixes CVE-2026-109618 and CVE-2026-109619, so drop knownVulnerabilities.
2026-10-22 13:17:33 +02:00
Nicolas Benes
9a5f769ba0 pythonDocs: 3.15.0 -> 3.15.1 2026-10-22 08:26:41 +02:00
Maximilian Bosch
81513f3640 php85: 8.5.11 -> 8.5.12, fixes CVE-2026-109618, CVE-2026-109619
ChangeLog: https://www.php.net/ChangeLog-8.php#8.5.12
2026-10-21 16:27:09 +02:00
Maximilian Bosch
ee62357e90 php84: 8.4.26 -> 8.4.27, fixes CVE-2026-109618, CVE-2026-109619
ChangeLog: https://www.php.net/ChangeLog-8.php#8.4.27
2026-10-21 16:27:09 +02:00
Maximilian Bosch
8122eb15f9 php83: 8.3.35 -> 8.3.36, fixes CVE-2026-109618, CVE-2026-109619
ChangeLog: https://www.php.net/ChangeLog-8.php#8.3.36
2026-10-21 16:27:09 +02:00
Maximilian Bosch
60e2de1de6 php86: mark as insecure
No patches for the RC available.
2026-10-21 16:27:09 +02:00
yaya
00e46e05ec php82: remove (#575757) 2026-10-21 12:35:57 +00:00
Yueh-Shun Li
3802bc4972 buildPythonPackage: prefix internal problem messages with finalAttrs.name
Change meta.problems.buildPythonPacakge-internal-* prefix from
`buildPythonPackage: ` to `${finalAttrs.name}: `
The latter is easier to locate,
and the problem name already shows the former.
2026-10-21 19:19:03 +08:00
Yueh-Shun Li
be9681fd49 buildPythonPackage: fix pytestFlagsArray error message with null position 2026-10-21 19:18:58 +08:00
Anthony Roussel
522210ad75 stestrCheckHook: support __structuredAttrs in disabledTestsRegex
Handle disabledTestsRegex with concatTo,
as it is a Bash array under __structuredAttrs
and `read -ra` only picked up its first element.
2026-10-20 18:32:50 +07:00
Anthony Roussel
d8ac67d222 stestrCheckHook: add stestrFlags 2026-10-20 17:30:35 +07:00
figsoda
70fdef7c16 python3Packages.python.withPackages: respect package set overrides (#556255) 2026-10-20 00:26:18 +00:00
Maximilian Bosch
48ac17acef php82: remove
See https://www.php.net/supported-versions.php
2026-10-19 20:17:00 +02:00
Kirill Radzikhovskyy
ba8b653335 ruby_3_3: drop 2026-10-18 08:53:25 +09:00
nixpkgs-ci[bot]
bdf2d07fa2 Merge master into staging-next 2026-10-15 06:15:44 +00:00
Eman Resu
1e7da2489c buildPythonPackage: fix <pkg>.overridePythonAttrs correctness regarding meta.problems.unsupportedPython (#570621) 2026-10-15 00:24:03 +00:00
nixpkgs-ci[bot]
cee20b279f Merge master into staging-next 2026-10-15 00:22:18 +00:00
Adam C. Stephens
667ed9a139 beam29Packages.erlang: 29.1.1 -> 29.1.2
Changelog: https://github.com/erlang/otp/releases/tag/OTP-29.1.2
2026-10-14 14:51:11 -04:00
Adam C. Stephens
aca2450d94 beam28Packages.erlang: 28.5.0.7 -> 28.5.0.8
Changelog: https://github.com/erlang/otp/releases/tag/OTP-28.5.0.8
2026-10-14 14:50:50 -04:00
Adam C. Stephens
7dd77577e1 beam27Packages.erlang: 27.3.4.18 -> 27.3.4.19
Changelog: https://github.com/erlang/otp/releases/tag/OTP-27.3.4.19
2026-10-14 14:48:24 -04:00
Yueh-Shun Li
85831189d6 buildPythonPackage: throw against overriding disabled via overridePythonAttrs
Add
meta.problems.buildPythonPackage-internal-disabled-overridePythonAttrs
when <pkg>.overridePythonAttrs taking deprecated argument disabled.

buildPythonPackage and buildPythonApplication
still takes argument disabled,
transformed with makeOverridablePythonPackages.

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-10-14 23:09:20 +08:00
Yueh-Shun Li
2ed0f15856 buildPythonPackage: convert disabled to unsupportedPython in origArgs
Transparently convert the { disabled = true; } to
meta.problems.unsupportedPython
and remove the `disabled` argument,
such that <pkg>.overridePythonAttrs can always
mitigate unsupportedPython by removing it from meta.problems

Co-authored-by: Eman Resu <ellakalle6@gmail.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-10-14 22:53:53 +08:00
Yueh-Shun Li
57e4dc25c6 buildPythonPackage: makeOverridablePythonPackage: overrideWith: simplify micro-optimisation 2026-10-14 22:53:52 +08:00
K900
73df9e741b Merge remote-tracking branch 'origin/master' into staging-next 2026-10-14 15:35:44 +03:00
Pol Dellaiera
a161e1a4a5 php86: init at 8.6.0RC3 (#570303) 2026-10-14 10:49:21 +00:00
Martin Weinelt
c10517edf4 python316: init at 3.16.0a1
https://docs.python.org/3.16/whatsnew/changelog.html#python-3-16-0-alpha-1
2026-10-14 11:16:58 +02:00
Yueh-Shun Li
20af433782 buildPythonPackage: prioritise meta.problems over argument disabled
When meta.problems is specified, either by calling buildPythonPackage
or by overriding with <pkg>.overridePythonAttrs,
prioritise the presence of meta.problems.unsupportedPython
over the argument disabled.
2026-10-13 23:51:01 +08:00
nixpkgs-ci[bot]
04f7e31a27 Merge master into staging-next 2026-10-13 12:15:32 +00:00
Matt Sturgeon
49316d62ac buildPythonPackage: remove deprecated stdenv argument compatibility layer (#570872) 2026-10-13 11:01:49 +00:00
Yueh-Shun Li
888ebaf057 buildPythonPackage: remove stdenv compatibility layer; guard w/ meta.problems
Remove overrideStdenvCompat from python-packages-base.nix

Add meta.problems.buildPythonPackage-internal-stdenv
when getting the stdenv argument
to make it an package evaluation error.

Add a test case in tests.overriding
(overridePythonAttrs-deprecated-arg-stdenv)
asserting that the problem appears when overriding with
<pkg>overridePythonAttrs with the deprecated stdenv argument.
2026-10-13 18:22:01 +08:00
Yueh-Shun Li
e26306bd97 buildPythonPackage: add comment to meta.problems.unsupportedPython 2026-10-13 18:18:10 +08:00
Nicolas Benes
3ea6ae8927 pythonDocs: 3.14.8 -> 3.15.0 2026-10-13 09:35:21 +02:00