Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging-next-24.11 iteration 1 - 2024-11-17 #356895

Merged
merged 248 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
9b1475f
xorg.libX11: Fix spurious Xerror when running synchronized
bobby285271 Nov 10, 2024
105fc3c
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 15, 2024
6163f20
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 15, 2024
c7e2230
tcl: 8.6.13 -> 8.6.15
agbrooks Oct 22, 2024
6b1b1d7
tk: 8.6.13 -> 8.6.15
agbrooks Oct 22, 2024
055e702
librist: fix build for musl
alyssais Nov 11, 2024
91ea63f
systemd: revert boot-breaking systemd-boot change
alyssais Nov 11, 2024
84d1dbe
[Backport staging-24.11] tcl: 8.6.13 -> 8.6.15 (#356047)
emilazy Nov 15, 2024
d5095c0
[Backport staging-24.11] librist: fix build for musl (#356048)
jopejoe1 Nov 15, 2024
1cc31eb
[Backport staging-24.11] systemd: revert boot-breaking systemd-boot c…
arianvp Nov 15, 2024
784ca11
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 15, 2024
e757353
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 15, 2024
77ea13f
postgresql_16: 16.4 -> 16.5
wolfgangwalther Nov 14, 2024
a40d887
postgresql: drop build-time dependency on GHC
Ma27 Nov 8, 2024
7e98eab
Merge: [24.11] postgresql: 16.4 -> 16.5 (#356152)
Ma27 Nov 15, 2024
9524825
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 16, 2024
9b778a4
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 16, 2024
74ce2b0
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 16, 2024
6d359b7
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 16, 2024
30bda35
systemd: 256.7 -> 256.8
Princemachiavelli Nov 16, 2024
ed82d4a
[Backport staging-24.11] systemd: 256.7 -> 256.8 (#356555)
ElvishJerricco Nov 16, 2024
f216dd8
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 17, 2024
cb56c4d
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 17, 2024
46affc6
Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_TARGET on Darwin"
reckenrode Nov 13, 2024
7ad36a5
stdenv: elaborate on nature of mass rebuilds
reckenrode Nov 16, 2024
06c93b6
[Backport staging-24.11] Revert "stdenv: set NIX_DONT_SET_RPATH_FOR_T…
emilazy Nov 17, 2024
9bf9099
llvmPackages_{12,13}.lldb: don't try to find nonexistent patch
sternenseemann Oct 15, 2024
c4e9f17
llvmPackages_12: build from monorepo source
sternenseemann Oct 5, 2024
e333080
llvmPackages_12.compiler-rt: move codesign patch into versioned dir
sternenseemann Oct 12, 2024
f30f8ee
llvmPackages_12.clang: use nostdlibinc patch instead of sed command
sternenseemann Oct 12, 2024
a24bde4
curl: backport netrc regression fix
Scrumplex Nov 15, 2024
8e05b9b
xorg.libX11: Fix spurious Xerror when running synchronized (#356033)
vcunat Nov 17, 2024
c17a4a9
curl: backport netrc regression fix (#356660)
vcunat Nov 17, 2024
e52f251
python312Packages.setuptools: 75.1.0 -> 75.1.1
dotlambda Nov 8, 2024
31a4b13
python312Packages.setuptools: 75.1.0 -> 75.1.1 (#356664)
vcunat Nov 17, 2024
83c8c7f
autoconf-archive: fix quoting of m4_fatal
corngood Nov 14, 2024
d6a035c
autoconf-archive: fix quoting of m4_fatal (#356667)
vcunat Nov 17, 2024
c8d0d0b
Merge branch 'staging-24.11' into staging-next-24.11
vcunat Nov 17, 2024
9f685ab
Revert "systemd: revert boot-breaking systemd-boot change"
emilazy Nov 17, 2024
8d52eb1
[Backport staging-24.11] Revert "systemd: revert boot-breaking system…
ElvishJerricco Nov 17, 2024
cb4a2d3
bazel_7: 7.4.0 -> 7.4.1
boltzmannrain Nov 13, 2024
7d71c28
darwin bazelDeps hashes
boltzmannrain Nov 13, 2024
f1bfce6
bazel_7/nix-hacks.patch: make it apply
boltzmannrain Nov 17, 2024
cf6b15f
bazel_7: rename: nix-hacks.patch -> nix-build-bazel-package-hacks.patch
boltzmannrain Nov 17, 2024
bcf31aa
[Backport staging-24.11] llvmPackages_12: build from monorepo source …
emilazy Nov 17, 2024
c5d97e0
llvmPackages_12.compiler-rt: fix build race aarch64-darwin
paparodeo Nov 17, 2024
c2ec039
[Backport staging-24.11] llvmPackages_12.compiler-rt: fix build race …
emilazy Nov 17, 2024
0563788
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 18, 2024
8943a8c
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 18, 2024
cf43e13
libuv: disable test for darwin sandbox
paparodeo Nov 18, 2024
4f5e503
[Backport staging-24.11] libuv: disable test for darwin sandbox (#356…
emilazy Nov 18, 2024
41bd3a4
libgit2: switch to pcre2
zowoq Nov 17, 2024
6099041
[Backport staging-24.11] libgit2: switch to pcre2 (#356867)
emilazy Nov 18, 2024
a231f5d
Merge branch 'staging-24.11' into staging-next-24.11
vcunat Nov 18, 2024
ab131d4
[Backport staging-24.11] bazel_7: 7.4.0 -> 7.4.1 (#356802)
philiptaron Nov 18, 2024
a49bc5c
meson.setupHook: Add timeout-multiplier
Artturin Nov 16, 2024
15d9866
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 19, 2024
c2ea9b4
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 19, 2024
b75bf52
folly: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
45e6e0f
folly: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
f307528
folly: move to `pkgs/by-name`
emilazy Nov 13, 2024
55793f0
folly: use `finalAttrs`
emilazy Nov 13, 2024
5705b45
folly: remove `with lib;`
emilazy Nov 13, 2024
3c95334
folly: use `refs/tags/`
emilazy Nov 13, 2024
de5c1f0
folly: use `hash`
emilazy Nov 13, 2024
2fcd56c
folly: reorder attributes
emilazy Nov 13, 2024
383254a
folly: reorder inputs to match upstream file
emilazy Nov 13, 2024
a3d3418
folly: refine `meta.platforms`
emilazy Nov 14, 2024
52a456a
folly: use Ninja
emilazy Nov 13, 2024
7a37654
folly: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
c0b7ae5
folly: patch `pkg-config` file instead of CMake files
emilazy Nov 13, 2024
0581e31
folly: fix split outputs
emilazy Nov 13, 2024
0e3ffa9
folly: refine `-fpermissive` flag
emilazy Nov 13, 2024
da0502a
folly: remove obsolete AArch64 hack
emilazy Nov 13, 2024
d0c2ddc
folly: condition shared libraries on platform setting
emilazy Nov 13, 2024
31e3056
folly: propagate required dependencies
emilazy Nov 13, 2024
7fbdc96
folly: bump to `fmt_11`
emilazy Nov 13, 2024
4eb464f
folly: enable tests
emilazy Nov 14, 2024
e456bdb
folly: add update script
emilazy Nov 14, 2024
0e61fcc
folly: add emily to maintainers
emilazy Nov 13, 2024
0cefd8e
folly: add techknowlogick to maintainers
emilazy Nov 16, 2024
342b7ed
fizz: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
979e60c
fizz: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
05b4b1f
fizz: move to `pkgs/by-name`
emilazy Nov 13, 2024
161b601
fizz: remove `with lib;`
emilazy Nov 13, 2024
bf7ecfd
fizz: reorder attributes
emilazy Nov 13, 2024
dd93de4
fizz: reorder inputs to match upstream file
emilazy Nov 13, 2024
e9379b7
fizz: remove unnecessary input
emilazy Nov 13, 2024
0fc901f
fizz: remove unnecessary `NIX_LDFLAGS`
emilazy Nov 14, 2024
c025010
fizz: remove unnecessary CMake flag
emilazy Nov 14, 2024
04e66d1
fizz: use Ninja
emilazy Nov 13, 2024
be5743a
fizz: set `__darwinAllowLocalNetworking`
emilazy Nov 13, 2024
f918b70
fizz: 2024.03.11.00 -> 2024.11.11.00
emilazy Nov 13, 2024
dd004b4
fizz: condition shared libraries on platform setting
emilazy Nov 14, 2024
f20774b
fizz: propagate required dependencies
emilazy Nov 13, 2024
9fed08e
fizz: enable more tests
emilazy Nov 14, 2024
8f709e8
fizz: split outputs
emilazy Nov 14, 2024
d81dc9e
fizz: add update script
emilazy Nov 14, 2024
4211b84
fizz: add emily to maintainers
emilazy Nov 13, 2024
3141cbe
fizz: add techknowlogick to maintainers
emilazy Nov 16, 2024
c5b4d50
mvfst: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
1933267
mvfst: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
a2a7d14
mvfst: move to `pkgs/by-name`
emilazy Nov 13, 2024
4bdd770
mvfst: use `finalAttrs`
emilazy Nov 13, 2024
b439b1b
mvfst: remove `with lib;`
emilazy Nov 13, 2024
c2912d1
mvfst: use `refs/tags/`
emilazy Nov 13, 2024
8b64371
mvfst: use `hash`
emilazy Nov 13, 2024
6932816
mvfst: reorder inputs
emilazy Nov 13, 2024
62d5675
mvfst: use Ninja
emilazy Nov 13, 2024
2f1b03a
mvfst: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
2527dd7
mvfst: condition shared libraries on platform setting
emilazy Nov 14, 2024
eab3225
mvfst: propagate required dependencies
emilazy Nov 13, 2024
1c62b5c
mvfst: enable tests
emilazy Nov 14, 2024
e2e183e
mvfst: split outputs
emilazy Nov 14, 2024
8c231c9
mvfst: add update script
emilazy Nov 14, 2024
7532534
mvfst: add emily to maintainers
emilazy Nov 13, 2024
43f0011
mvfst: add techknowlogick to maintainers
emilazy Nov 16, 2024
16aa500
wangle: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
53c5216
wangle: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
1ec5504
wangle: move to `pkgs/by-name`
emilazy Nov 13, 2024
10038e2
wangle: remove `with lib;`
emilazy Nov 13, 2024
423887d
wangle: use `refs/tags/`
emilazy Nov 13, 2024
931f6e5
wangle: use `hash`
emilazy Nov 13, 2024
3de5bf9
wangle: reorder attributes
emilazy Nov 13, 2024
902f733
wangle: reorder inputs to match upstream file
emilazy Nov 13, 2024
226e6d2
wangle: remove unnecessary CMake flag
emilazy Nov 14, 2024
1ed0a81
wangle: use Ninja
emilazy Nov 13, 2024
ed047d1
wangle: set `__darwinAllowLocalNetworking`
emilazy Nov 13, 2024
d30f9b8
wangle: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
ad6d6e8
wangle: condition shared libraries on platform setting
emilazy Nov 14, 2024
7d24989
wangle: split outputs
emilazy Nov 14, 2024
946fa3a
wangle: add update script
emilazy Nov 14, 2024
b604d47
wangle: add emily to maintainers
emilazy Nov 14, 2024
095db1e
wangle: add techknowlogick to maintainers
emilazy Nov 16, 2024
7a3e48f
fbthrift: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
c2510dd
fbthrift: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
3aade2e
fbthrift: move to `pkgs/by-name`
emilazy Nov 13, 2024
6d62a12
fbthrift: use `finalAttrs`
emilazy Nov 13, 2024
28b9aa6
fbthrift: remove `with lib;`
emilazy Nov 13, 2024
d20e2f5
fbthrift: use `refs/tags/`
emilazy Nov 13, 2024
94a02dc
fbthrift: use `hash`
emilazy Nov 13, 2024
01ea27e
fbthrift: reorder attributes
emilazy Nov 13, 2024
3a2ddb3
fbthrift: reorder inputs to match upstream file
emilazy Nov 13, 2024
9df44c4
fbthrift: remove unnecessary inputs
emilazy Nov 14, 2024
795f3c8
fbthrift: use Ninja
emilazy Nov 13, 2024
2abc54b
fbthrift: 2024.03.11.00 -> 2024.11.11.00
emilazy Nov 13, 2024
51470b7
fbthrift: condition shared libraries on platform setting
emilazy Nov 13, 2024
58e8c1a
fbthrift: propagate required dependencies
emilazy Nov 13, 2024
a312d73
fbthrift: add note about tests
emilazy Nov 13, 2024
84dcdc3
fbthrift: split outputs
emilazy Nov 14, 2024
1c28dbc
fbthrift: add update script
emilazy Nov 14, 2024
afe3a72
fbthrift: add emily to maintainers
emilazy Nov 14, 2024
245f8fc
fbthrift: add techknowlogick to maintainers
emilazy Nov 16, 2024
e18ba87
fb303: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
e6dba63
fb303: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
219a361
fb303: move to `pkgs/by-name`
emilazy Nov 13, 2024
b7a013f
fb303: use `finalAttrs`
emilazy Nov 13, 2024
96a8b82
fb303: remove `with lib;`
emilazy Nov 13, 2024
b8940bc
fb303: use `refs/tags/`
emilazy Nov 13, 2024
bfd8f83
fb303: use `hash`
emilazy Nov 13, 2024
96a214a
fb303: reorder attributes
emilazy Nov 13, 2024
43f7996
fb303: reorder inputs to match upstream file
emilazy Nov 13, 2024
f7f8b9c
fb303: add explicit `gflags` input
emilazy Nov 13, 2024
f1d8260
fb303: remove `python3` input
emilazy Nov 13, 2024
5e98b4b
fb303: use `lib.cmakeBool`
emilazy Nov 13, 2024
17d32ff
fb303: use Ninja
emilazy Nov 13, 2024
4567e56
fb303: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
a95aa41
fb303: condition shared libraries on platform setting
emilazy Nov 14, 2024
51d81d4
fb303: split outputs
emilazy Nov 14, 2024
9858748
fb303: add update script
emilazy Nov 14, 2024
58ac7d8
fb303: add emily to maintainers
emilazy Nov 14, 2024
6d3c21c
fb303: add techknowlogick to maintainers
emilazy Nov 16, 2024
a78bec1
edencommon: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
353788c
edencommon: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
dec69d0
edencommon: move to `pkgs/by-name`
emilazy Nov 13, 2024
ec27627
edencommon: use `finalAttrs`
emilazy Nov 13, 2024
7f743b9
edencommon: remove `with lib;`
emilazy Nov 13, 2024
563498a
edencommon: use `refs/tags/`
emilazy Nov 13, 2024
72674bb
edencommon: use `hash`
emilazy Nov 13, 2024
84f62d3
edencommon: reorder inputs to match upstream file
emilazy Nov 13, 2024
a51f598
edencommon: add explicit `gflags` dependency
emilazy Nov 13, 2024
d28afe0
edencommon: use Ninja
emilazy Nov 13, 2024
9884c53
edencommon: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
ec5f6a6
edencommon: condition shared libraries on platform setting
emilazy Nov 14, 2024
78acfbe
edencommon: enable tests
emilazy Nov 14, 2024
04f01ef
edencommon: split outputs
emilazy Nov 14, 2024
c60de83
edencommon: add update script
emilazy Nov 14, 2024
2c059b8
edencommon: add emily to maintainers
emilazy Nov 14, 2024
993eed1
edencommon: add techknowlogick to maintainers
emilazy Nov 16, 2024
af860c5
cpptoml: add patch for GCC 11
emilazy Nov 15, 2024
63da22e
watchman: format with `nixfmt-rfc-style`
emilazy Nov 13, 2024
bbb0518
watchman: convert to new Darwin SDK pattern
emilazy Nov 13, 2024
b9df998
watchman: move to `pkgs/by-name`
emilazy Nov 13, 2024
c7719fe
watchman: use `finalAttrs`
emilazy Nov 13, 2024
382f956
watchman: remove `with lib;`
emilazy Nov 13, 2024
a2ac9bf
watchman: use `refs/tags/`
emilazy Nov 13, 2024
33a43b4
watchman: reorder attributes
emilazy Nov 13, 2024
0cd61fe
watchman: reorder inputs to match upstream file
emilazy Nov 13, 2024
e24c6b9
watchman: clean up inputs
emilazy Nov 13, 2024
e600324
watchman: use Ninja
emilazy Nov 13, 2024
d6cde37
watchman: 2024.03.11.00 -> 2024.11.18.00
emilazy Nov 13, 2024
01a0d83
watchman: use `lib.cmake{Bool,Feature}`
emilazy Nov 13, 2024
e9299e8
watchman: set `CMAKE_INSTALL_RPATH_USE_LINK_PATH`
emilazy Nov 15, 2024
ce65820
watchman: use upstream default for `stateDir`
emilazy Nov 13, 2024
7191a4b
watchman: enable tests
emilazy Nov 14, 2024
56788e0
watchman: strip references to `folly.fmt.dev`
emilazy Nov 14, 2024
5e28ca8
watchman: add update script
emilazy Nov 14, 2024
56adcfd
watchman: add emily to maintainers
emilazy Nov 14, 2024
47edc32
watchman: add techknowlogick to maintainers
emilazy Nov 16, 2024
6a5d9e2
[Backport staging-24.11] {folly,fizz,mvfst,wangle,fbthrift,fb303,eden…
emilazy Nov 19, 2024
0322425
nixStatic: mark as broken on darwin (#357185)
Mic92 Nov 19, 2024
2c9cbf7
[Backport staging-24.11] nixStatic: mark as broken on darwin (#357316)
emilazy Nov 19, 2024
b5ca14b
libarchive: add patch to fix `.pc` file
emilazy Nov 19, 2024
bb39e68
Revert "nixStatic: mark as broken on darwin (#357185)"
emilazy Nov 19, 2024
66e9131
[Backport staging-24.11] libarchive: add patch to fix .pc file (#357317)
emilazy Nov 19, 2024
b3122a1
xcbuild: find system toolchain on macOS Sonoma and earlier
midchildan Nov 19, 2024
5aba7b5
[Backport staging-24.11] xcbuild: find system toolchain on macOS Sono…
emilazy Nov 19, 2024
f0fa154
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 20, 2024
d48e391
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 20, 2024
67439e9
xcbuild: const can't desctruct. fix build
paparodeo Nov 20, 2024
05390db
[Backport staging-24.11] xcbuild: const can't desctruct. fix build (#…
emilazy Nov 20, 2024
72d5c16
[Backport staging-24.11] meson.setupHook: Add timeout-multiplier (#35…
Artturin Nov 20, 2024
a8ae089
nodejs_20: 20.18.0 -> 20.18.1
aduh95 Nov 20, 2024
b5d2277
[24.11 backport] nodejs_20: 20.18.0 -> 20.18.1 (#357686)
emilazy Nov 20, 2024
f85461a
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 21, 2024
7ebb7f2
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 21, 2024
f7c3bbc
tk: fix x64 darwin build
paparodeo Nov 21, 2024
abebf0d
tk: fix x64 darwin build (#357765)
emilazy Nov 21, 2024
fedcf60
curl: backport other netrc regression fix
Scrumplex Nov 20, 2024
a266530
[Backport staging-24.11] curl: backport other netrc regression fix (#…
Scrumplex Nov 21, 2024
4f44a5c
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 22, 2024
52b514c
Merge staging-next-24.11 into staging-24.11
github-actions[bot] Nov 22, 2024
fc44565
Merge branch 'staging-24.11' into staging-next-24.11
vcunat Nov 22, 2024
6b42457
e2fsprogs: remove compat patch
wolfgangwalther Nov 17, 2024
8427b6f
nixos/lib/test-driver: remove legacy args handling
wolfgangwalther Nov 17, 2024
5c1eb44
[Backport staging-24.11] treewide: remove deprecations up until 24.11…
emilazy Nov 22, 2024
316d0cf
Merge branch 'staging-24.11' into staging-next-24.11
vcunat Nov 22, 2024
24dc80f
cacert: 3.104 -> 3.107
mweinelt Nov 21, 2024
f19d686
cacert: 3.104 -> 3.107 (#358220)
emilazy Nov 22, 2024
b1e0f78
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 23, 2024
6287161
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 24, 2024
7c57e4c
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 25, 2024
eb51711
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 26, 2024
f3e9221
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 27, 2024
d3bfb6c
python313Packages.pycurl: 7.45.3 -> 7.45.3-unstable-2024-10-17
mweinelt Nov 13, 2024
ff31b81
nixos/lib/test-driver: fix linting after compatibility clean‐up
emilazy Nov 25, 2024
0f6738d
[staging-next-24.11] nixos/lib/test-driver: fix linting after compati…
emilazy Nov 27, 2024
868494d
Merge release-24.11 into staging-next-24.11
github-actions[bot] Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 1 addition & 40 deletions nixos/lib/test-driver/test_driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
from pathlib import Path
from typing import Any, Callable, ContextManager, Dict, Iterator, List, Optional, Union

from colorama import Fore, Style

from test_driver.logger import AbstractLogger
from test_driver.machine import Machine, NixStartScript, retry
from test_driver.polling_condition import PollingCondition
Expand Down Expand Up @@ -205,48 +203,11 @@ def terminate_test(self) -> None:

def create_machine(
self,
start_command: str | dict,
start_command: str,
*,
name: Optional[str] = None,
keep_vm_state: bool = False,
) -> Machine:
# Legacy args handling
# FIXME: remove after 24.05
if isinstance(start_command, dict):
if name is not None or keep_vm_state:
raise TypeError(
"Dictionary passed to create_machine must be the only argument"
)

args = start_command
start_command = args.pop("startCommand", SENTINEL)

if start_command is SENTINEL:
raise TypeError(
"Dictionary passed to create_machine must contain startCommand"
)

if not isinstance(start_command, str):
raise TypeError(
f"startCommand must be a string, got: {repr(start_command)}"
)

name = args.pop("name", None)
keep_vm_state = args.pop("keep_vm_state", False)

if args:
raise TypeError(
f"Unsupported arguments passed to create_machine: {args}"
)

self.logger.warning(
Fore.YELLOW
+ Style.BRIGHT
+ "WARNING: Using create_machine with a single dictionary argument is deprecated and will be removed in NixOS 24.11"
+ Style.RESET_ALL
)
# End legacy args handling

tmp_dir = get_tmp_dir()

cmd = NixStartScript(start_command)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From 427e226a2fe3980388abffd6de25ed6b9591cce3 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz93@gmail.com>
Date: Sat, 19 Oct 2024 21:51:30 -0400
Subject: [PATCH 1/3] ax_check_gl.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 753493bf7e251997f02559b98fc599d4a337d8cd
Bug: https://bugs.gentoo.org/941845
---
m4/ax_check_gl.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_check_gl.m4 b/m4/ax_check_gl.m4
index 850d407..4c2e4ef 100644
--- a/m4/ax_check_gl.m4
+++ b/m4/ax_check_gl.m4
@@ -85,7 +85,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

-#serial 23
+#serial 24

# example gl program
m4_define([_AX_CHECK_GL_PROGRAM],
@@ -187,7 +187,7 @@ AC_DEFUN([_AX_CHECK_GL_LINK_CV],
AC_DEFUN([_AX_CHECK_GL_MANUAL_LIBS_GENERIC], [
AS_IF([test -n "$GL_LIBS"],[], [
ax_check_gl_manual_libs_generic_extra_libs="$1"
- m4_if($1, [], m4_fatal([$0: argument must not be empty]))
+ m4_if($1, [], [m4_fatal([$0: argument must not be empty])])

_AX_CHECK_GL_SAVE_FLAGS([CFLAGS])
AC_SEARCH_LIBS([glBegin],[$ax_check_gl_manual_libs_generic_extra_libs], [
--
2.46.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
From e25f8d9e3ead52f998535b86c763065c5b45cc59 Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz93@gmail.com>
Date: Sat, 19 Oct 2024 21:57:16 -0400
Subject: [PATCH 2/3] ax_check_glx.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 40ca66e7e52bb63e3eee2514855fcf3ad2df7673
---
m4/ax_check_glx.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_check_glx.m4 b/m4/ax_check_glx.m4
index c7890d9..b5027f9 100644
--- a/m4/ax_check_glx.m4
+++ b/m4/ax_check_glx.m4
@@ -61,7 +61,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.

-#serial 9
+#serial 10

# example program
m4_define([_AX_CHECK_GLX_PROGRAM],
@@ -183,7 +183,7 @@ AC_DEFUN([_AX_CHECK_GLX_HEADERS],
AC_DEFUN([_AX_CHECK_GLX_MANUAL_LIBS_GENERIC],
[dnl
ax_check_glx_manual_libs_generic_extra_libs="$1"
- m4_if($1, [], m4_fatal([$0: argument must not be empty]))
+ m4_if($1, [], [m4_fatal([$0: argument must not be empty])])

AC_LANG_PUSH([C])
_AX_CHECK_GLX_SAVE_FLAGS()
--
2.46.1

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
From 3a23daa3da0eb1a256fda631867e19345d5f6e3a Mon Sep 17 00:00:00 2001
From: Eli Schwartz <eschwartz93@gmail.com>
Date: Sat, 19 Oct 2024 21:58:52 -0400
Subject: [PATCH 3/3] ax_switch_flags.m4: properly quote m4_fatal

It needs to only run as an argument of m4_if, not all the time.

Fixes: 2adff78e224c908fd58df91852c8301c25777a8f
---
m4/ax_switch_flags.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/m4/ax_switch_flags.m4 b/m4/ax_switch_flags.m4
index dc79d1e..777aeb0 100644
--- a/m4/ax_switch_flags.m4
+++ b/m4/ax_switch_flags.m4
@@ -36,10 +36,10 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.

-#serial 5
+#serial 6

AC_DEFUN([AX_SWITCH_FLAGS], [
- m4_if($1, [], m4_fatal([$0: namespace is empty]))
+ m4_if($1, [], [m4_fatal([$0: namespace is empty])])
AC_REQUIRE(AX_SAVE_FLAGS)
AC_REQUIRE(AX_RESTORE_FLAGS)
AX_SAVE_FLAGS($1[])
--
2.46.1

9 changes: 9 additions & 0 deletions pkgs/by-name/au/autoconf-archive/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ stdenv.mkDerivation rec {
hash = "sha256-e81dABkW86UO10NvT3AOPSsbrePtgDIZxZLWJQKlc2M=";
};

patches = [
# cherry-picked changes from
# https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=fadde164479a926d6b56dd693ded2a4c36ed89f0
# can be removed on next release
./0001-ax_check_gl.m4-properly-quote-m4_fatal.patch
./0002-ax_check_glx.m4-properly-quote-m4_fatal.patch
./0003-ax_switch_flags.m4-properly-quote-m4_fatal.patch
];

strictDeps = true;
enableParallelBuilding = true;

Expand Down
21 changes: 21 additions & 0 deletions pkgs/by-name/cp/cpptoml/add-limits-include.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001
From: Dirk Eddelbuettel <edd@debian.org>
Date: Mon, 30 Nov 2020 09:41:49 -0600
Subject: [PATCH] g++-11 requires limits header

---
include/cpptoml.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/cpptoml.h b/include/cpptoml.h
index 5a00da3..1dc9fd1 100644
--- a/include/cpptoml.h
+++ b/include/cpptoml.h
@@ -14,6 +14,7 @@
#include <cstring>
#include <fstream>
#include <iomanip>
+#include <limits>
#include <map>
#include <memory>
#include <sstream>
6 changes: 6 additions & 0 deletions pkgs/by-name/cp/cpptoml/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "0zlgdlk9nsskmr8xc2ajm6mn1x5wz82ssx9w88s02icz71mcihrx";
};

patches = [
# Fix compilation with GCC 11.
# <https://github.com/skystrife/cpptoml/pull/123>
./add-limits-include.patch
];

nativeBuildInputs = [ cmake ];

cmakeFlags = [
Expand Down
31 changes: 31 additions & 0 deletions pkgs/by-name/cu/curlMinimal/fix-netrc-regression-2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 0cdde0fdfbeb8c35420f6d03fa4b77ed73497694 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 7 Nov 2024 17:03:54 +0100
Subject: [PATCH] netrc: support large file, longer lines, longer tokens

Regression from 3b43a05e000aa8f6 (shipped in 8.11.0)

Reported-by: Moritz
Fixes #15513
Closes #15514
---
lib/netrc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/netrc.c b/lib/netrc.c
index c23f927cef32d35059360f04be3c7833589f5df5..034c0307a43e3b86c9c004387cedf273588370e1 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -58,9 +58,9 @@ enum found_state {
#define NETRC_FAILED -1
#define NETRC_SUCCESS 0

-#define MAX_NETRC_LINE 4096
-#define MAX_NETRC_FILE (64*1024)
-#define MAX_NETRC_TOKEN 128
+#define MAX_NETRC_LINE 16384
+#define MAX_NETRC_FILE (128*1024)
+#define MAX_NETRC_TOKEN 4096

static CURLcode file2memory(const char *filename, struct dynbuf *filebuf)
{
Loading