Commit Graph

11659 Commits

Author SHA1 Message Date
K900
5492ece899 supercollider: cherry-pick patch to fix build with GCC 15 2025-12-18 15:06:49 +03:00
Stefan Frijters
d89172980b wrapPythonPrograms: support structuredAttrs
$pythonPath can be an array - if we don't expand it we only get the first element.
2025-12-18 12:24:28 +01:00
Yueh-Shun Li
7e1f654883 buildPython*: format expressions 2025-12-18 17:55:00 +08:00
Yueh-Shun Li
0969c66247 buildPython*: support fixed-point arguments via lib.extendMkDerivation
Postpone formatting to minimize diff and to ease merging.
2025-12-18 17:55:00 +08:00
Yueh-Shun Li
fb9727a198 makeOverridablePythonPackage: allow buildPython* to take fixed-point arguments 2025-12-18 17:55:00 +08:00
K900
453752195a Merge remote-tracking branch 'origin/master' into staging-next 2025-12-18 09:57:58 +03:00
Fabián Heredia Montiel
a99f489a1d ruby_3_4: 3.4.7 -> 3.4.8 (#471824) 2025-12-18 06:35:38 +00:00
James Martin
ee218ba240 ruby_3_4: 3.4.7 -> 3.4.8
https://github.com/ruby/ruby/releases/tag/v3_4_8
2025-12-17 14:33:22 -08:00
Martin Weinelt
532bd8d5e1 buildPythonPackage: chore: remove unnecessary set update for passthru value (#471681) 2025-12-17 22:02:30 +00:00
nixpkgs-ci[bot]
4fa909c6b1 Merge master into staging-next 2025-12-17 15:26:13 +00:00
Yueh-Shun Li
353eec600b buildPythonPackage: chore: remove unnecessary set update 2025-12-17 22:17:22 +08:00
Arne Keller
44b2026a4c pypy: remove explicit darwin minimum SDK (#471446) 2025-12-17 12:42:05 +00:00
nixpkgs-ci[bot]
7d328d38a6 Merge staging-next into staging 2025-12-17 00:18:04 +00:00
Philip Taron
5658916132 python2: fix paths for structuredAttrs (#470566) 2025-12-16 21:41:53 +00:00
Martin Weinelt
db88301a81 python315: 3.15.0a2 -> 3.15.0a3
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-3
2025-12-16 21:41:42 +01:00
Niklas Korz
b92751652e pypy: remove explicit darwin minimum SDK
PyPy sets an explicit minimum SDK version for darwin that is much older
than what we we default to on nixpkgs (currently 14.0).
Simply removing the explicit flag makes it use our default instead.

This fixes a build failure where PyPy tries to access APIs that are not
available in the macOS SDK it is targetting.
This is technically not relevant for upstream as this is an opt-in
warning which we have recently enabled by default (as error) on
nixpkgs, but they too should bump the minimum target to at least 10.15
from their current target of 10.13.
2025-12-16 21:13:05 +01:00
nixpkgs-ci[bot]
98b2b03bb4 Merge staging-next into staging 2025-12-15 12:10:12 +00:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
nixpkgs-ci[bot]
31d4840e01 Merge staging-next into staging 2025-12-14 00:20:56 +00:00
Stefan Frijters
b9195a7fb6 python2: fix paths for structuredAttrs
Without this, things like zlib are not found.
2025-12-14 00:53:58 +01:00
Aliaksandr
f60a6c51e6 treewide: prefer standard name for old and final Attrs 2025-12-13 23:29:51 +02:00
Alexander Bantyev
25f0d1212e perl: add tests.withCheck
Adds perl.passthru.tests.withCheck, which runs the test suite provided
with perl.
2025-12-13 00:02:59 +01:00
nixpkgs-ci[bot]
9d911c99bc Merge staging-next into staging 2025-12-12 12:08:28 +00:00
Yueh-Shun Li
2f7c804324 buildPython*: simplify overrideStdenvCompat and add nested-override support (#455764) 2025-12-12 08:09:28 +00:00
Sandro
efab4c48dd spidermonkey_140: 140.5.0 -> 140.6.0 (#469313) 2025-12-11 16:19:35 +01:00
dotlambda
195e2bc55c python3Packages.setuptools-rust: fix cross build for all setuptools-rust based packages (#467817) 2025-12-11 06:25:13 +00:00
nixpkgs-ci[bot]
0a965c5d15 Merge staging-next into staging 2025-12-11 06:08:16 +00:00
Matt Sturgeon
553a6c3d3a buildPython*: preserve overrideStdenvCompat on subsequent overrides
This is needed to support the deprecated method of overriding `stdenv`
via `overridePythonAttrs`.
2025-12-11 01:15:17 +00:00
Matt Sturgeon
32ecc2256b buildPython*: remove stdenv arg in overrideStdenvCompat
Avoid passing `stdenv` to the underlying function when it is already
handled in overrideStdenvCompat.
2025-12-11 01:07:55 +00:00
Matt Sturgeon
9d87f178ed buildPython*: switch overrideStdenvCompat to mirrorFunctionArgs
The underlying `mk-python-derivation.nix` functions do not have `stdenv`
in their functionArgs, so it was redundant to explicitly remove it.
2025-12-11 01:07:55 +00:00
Matt Sturgeon
37655d3b36 buildPython*: rename override param in makeOverridablePythonPackage
`fdrv` → `newArgs`; the parameter is not a derivation, so fdrv is
confusing.
2025-12-11 01:07:55 +00:00
nixpkgs-ci[bot]
795ce4c7c1 Merge staging-next into staging 2025-12-11 00:19:41 +00:00
Adam C. Stephens
cdebe05699 erlang_28: 28.2 -> 28.3
Changelog: https://github.com/erlang/otp/releases/tag/OTP-28.3
New: https://www.erlang.org/news/182
2025-12-10 17:42:12 -05:00
Yueh-Shun Li
ff13d8ce45 makeOverridablePythonPackage: simplify implementation and make compatible with <pkg>.overrideAttrs (#267296) 2025-12-10 19:06:55 +00:00
Wolfgang Walther
46c0c0eae7 Merge branch 'staging-next' into staging 2025-12-10 18:42:31 +01:00
nixpkgs-ci[bot]
be2c93bf08 Merge staging-next into staging 2025-12-10 17:16:32 +00:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Acid Bong
20bcbac7b0 maintainers: drop lom (aka legendofmiracles) 2025-12-10 17:46:33 +02:00
Yueh-Shun Li
ca6c090082 makeOverridablePythonPackage: take care of overrideAttrs
Make it possible to mix overridePythonAttrs and overrideAttrs, i.e.
((<pkg>.overrideAttrs (_: { foo = "a"; })).overridePythonAttrs (_: { })).foo now works

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-12-10 19:22:04 +08:00
Yueh-Shun Li
e8302431ef makeOverridablePythonPackage: simplify implementation
Attach overridePythonAttrs by attribute set update
instead of `stdenv.mkDerivation`'s `passthru`.

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-12-10 19:20:01 +08:00
Bobby Rong
67c58b9544 spidermonkey_140: 140.5.0 -> 140.6.0
https://github.com/mozilla-firefox/firefox/commits/FIREFOX_140_6_0esr_RELEASE/js/src/build
https://github.com/mozilla-firefox/firefox/commits/FIREFOX_140_6_0esr_RELEASE/build
2025-12-09 23:14:30 +08:00
DavHau
e656303867 python3Packages.setuptools-rust: fix cross build for all setuptools-rust based packages
Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform.

The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere.

This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs.

This change fixes cross on all packages using `setuptools-rust` as a build-system.
2025-12-09 12:32:28 +07:00
Audrey Dutcher
4f41c66aa4 perl: Fix build with clang >= 21
When cross compiling for FreeBSD, we see this exact error:
https://github.com/llvm/llvm-project/issues/152241

As described in that issue, -fno-strict-aliasing is a workaround.
2025-12-08 14:54:06 -07:00
K900
8b56bf20bb Merge remote-tracking branch 'origin/staging-next' into staging 2025-12-07 23:38:37 +03:00
Gergő Gutyina
aa1bf8ebf5 janet: 1.39.1 -> 1.40.1 (#462646) 2025-12-07 17:52:21 +00:00
Ashish SHUKLA
ae21cbf3da janet: 1.39.1 -> 1.40.1
Changes: https://github.com/janet-lang/janet/releases/tag/v1.40.0
         https://github.com/janet-lang/janet/releases/tag/v1.40.1
2025-12-07 17:02:46 +00:00
nixpkgs-ci[bot]
06f61d8b32 Merge staging-next into staging 2025-12-07 00:20:08 +00:00
Audrey Dutcher
5f12790a4c python3: Fix cross compilation to FreeBSD
- autoreconf needs to be run if we patch configure.ac
- the patch lines need to be adjusted otherwise it applies wrong
2025-12-06 15:51:49 -07:00
Martin Weinelt
0e80fa420b python313: 3.13.10 -> 3.13.11; python314: 3.14.1 -> 3.14.2 (#468254) 2025-12-06 13:10:14 +00:00
Martin Weinelt
7b9787935a Revert "cpython: fix gh-142214 on 3.14.1"
This reverts commit 27dcfd3e04.

This was fixed in 3.14.2 and as such this patch application has become
obsolete.
2025-12-06 01:20:01 +01:00