0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-19 08:31:01 +03:00
Commit graph

52122 commits

Author SHA1 Message Date
Sizhe Zhao
4257e82bcf
nixosTests.corerad: handleTest -> runTest 2025-07-04 20:59:41 +08:00
Sizhe Zhao
9a02037834
nixosTests.cockroachdb: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
9b445d3596
nixosTests.cntr: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
501fabc856
nixosTests.cloud-init-hostname: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
3faac88ef3
nixosTests.cloud-init: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
950a25abb6
nixosTests.chrony-ptp: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
4f26991b9f
nixosTests.chrony: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
1fe7725039
nixosTests.cfssl: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
4633acf70e
nixosTests.certmgr: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
4db8ad5fa6
nixosTests.ceph-single-node-bluestore-dmcrypt: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
644443d59a
nixosTests.ceph-single-node-bluestore: handleTest -> runTest 2025-07-04 20:58:28 +08:00
Sizhe Zhao
9206b0adec
nixosTests.ceph-single-node: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
50f3960dc8
nixosTests.ceph-multi-node: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
f4a714d8d5
nixosTests.cassandra_4: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
2e4fac6dfd
nixosTests.cadvisor: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
4e792f525e
nixosTests.bpf: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
16e6e74550
nixosTests.blocky: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sizhe Zhao
404d25243c
nixosTests.birdwatcher: handleTest -> runTest 2025-07-04 20:58:27 +08:00
Sandro
3f03e8984e
renovate: 40.60.0 -> 41.16.0 (#420717) 2025-07-04 14:44:38 +02:00
Yarny0
5e2baf54d4 nixos/test-driver: fix race from filename clash in OCR
There is a race condition
in the new paralleized OCR code.
The race condition got "active" in commit
819d304a39 (Use futures for OCR parallelization),
however, the underlying bug already slipped in with commit
e6ea13f4ea (User proper `Path` instead of `str` in OCR code).

The OCR module applies tesseract to at most three variants
of the screenshot: the original one, and two variants that
are created by a preprocessing step (with ImageMagick).
The preprocessing step needs an output filename
that is used to write the preprocessed image file.

The "Path" commit broke the way the output file is named:
The code still attempts to append a ".negative" to *one*
of the preprocessed output files, but the method
`.with_suffix` is not suitable for that purpose:
Lateron, ".png" is also added with `.with_suffix`,
*replacing* the ".negative" and thereby yielding the
*the same* output filename for both preprocessed files.

Without parallelization, this doesn't hurt;
preprocessed files are simply created and analyzed in order.
But the parallelization commit
causes that these two tasks now run in parallel
(plus the third task that analyses the original screensshot,
but that does not cause any further harm here):

* Task 1: preprocess (non-negative), then tesseract the output
* Task 2: preprocess (negative), then tesseract the output

Both tasks use the same filename and thus the same file for the
preprocessed image that is generated, then used by tesseract.
This often creates a garbage file since both
preprocessings write that one file at the same time.
Tesseract consequently fails and
complains about bad data in its input file.

The commit at hand simply fixes the file naming
by adding ".negative.png" or ".positive.png"
to the filename for the preprocessed image.
This ensures both threads no longer hurt each
other's data and can now coexist in peace.
2025-07-04 12:10:53 +02:00
Cosima Neidahl
7624084e1a
nixos/corteza: init, nixosTests.corteza: init (#420428) 2025-07-04 11:19:36 +02:00
K900
32ee423db2
nixos/installer: ship the minimal ISO with networkmanager (#421082) 2025-07-04 05:05:19 +03:00
K900
f0746b3633
schmittlauch drops maintainership of some packages; remove ktouch (#422219) 2025-07-04 05:05:02 +03:00
Martin Weinelt
a289362e80
networkmanager: drop hard dependency on openconnect and cleanup plugin handling (#421042) 2025-07-04 03:08:40 +02:00
Martin Weinelt
88565a8620
nixos/dovecot: improve and harden systemd unit (#418722) 2025-07-03 23:44:45 +02:00
Trolli Schmittlauch
5af05b24fc treewide: drop maintainership of packages I don't really maintain 2025-07-03 22:55:35 +02:00
Philip Wilk
e97badfdd7 nixos/ups: add package option 2025-07-03 22:30:43 +02:00
Wolfgang Walther
bed266e629
nixos/postgresql: add section about pg_config (#421516) 2025-07-03 17:43:23 +00:00
Maximilian Bosch
e031c5ff6b
nixos/postgresql: add section about pg_config
See https://discourse.nixos.org/t/i-cannot-for-the-life-of-me-find-the-package-that-has-pg-config/66244/4

I decided against doing this in its own nixpkgs manual: the line
to draw is quite blurry already (e.g. we have documented our package
removal policy in here as well) and having to check two manuals for a
single subsystem feels pretty annoying to me.

The relevant part - where to find pg_config - is written at the top. I
decided to give a bit more context about the way our packaging works
since I realized a few times now that I don't remember all the details
about the problems we had in the past and having to look up individual
commit messages for that isn't very productive.
2025-07-03 19:33:01 +02:00
Maximilian Bosch
4dab91c096
Merge: treewide: move StartLimitIntervalSec/StartLimitBurst to unitConfig (#422098) 2025-07-03 18:42:34 +02:00
Sandro Jäckel
5e4801914b
nixos/stage-1: fix option path in message 2025-07-03 17:54:49 +02:00
Sandro Jäckel
f88e1c39e9
treewide: move StartLimitIntervalSec/StartLimitBurst to unitConfig 2025-07-03 15:48:28 +02:00
Morgan Jones
949e299d24
kubernetes: use util-linuxMinimal instead of util-linux.withPatches
This, and commits to k3s and util-linux close #409339.
The util-linux.withPatches API was a temporary hack for the 25.05
release to fix Kubernetes, and is going away.

While we're at it, we should use util-linuxMinimal because we do not
need things such as systemd support for kubelet initialization.
2025-07-02 23:51:12 -07:00
Vladimir Timofeenko
7e7b797156 nixos/homebox: fix link to documentation 2025-07-02 08:26:51 -07:00
Jacek Galowicz
3a670480d1
nixos/lib/test-driver: try using XDG_RUNTIME_DIR if available (#414231) 2025-07-02 16:11:44 +02:00
Maximilian Bosch
ec5cc37e35
Merge: test-driver: Parallelize OCR (#421233) 2025-07-02 16:10:27 +02:00
Jacek Galowicz
26bcb57f3c test-driver: fix number of cores 2025-07-02 13:59:15 +00:00
Maximilian Bosch
59b4d0de90
nixos/lib/test-driver: try using XDG_RUNTIME_DIR if available
At work we have the use-case that several people connect to a large
Linux box to run tests and debug those interactively.

All tests write their state into a global `/tmp` -- e.g. the vde1 socket
and the VMs' state. This leads to conflicts when multiple people are
doing this.

This change tries to use XDG_RUNTIME_DIR before using Python's detection
of a global temp directory: when connecting, this requires a working
user session, but then we get working directories per user. This is
preferable over doing something like `mktemp -d` per run since that
would break use-cases where you want to keep the VMs' state across
multiple sessions (`--keep-vm-state`).
2025-07-02 15:53:12 +02:00
Sandro Jäckel
c049f1746c
nixos/nextcloud-notify_push: allow overwriting recommendedProxySettings without mkForce 2025-07-02 15:11:27 +02:00
Jacek Galowicz
819d304a39 test-driver: Use futures for OCR parallelization 2025-07-02 11:43:13 +00:00
Yang, Bo
3f377cfde8
nixos/avahi-daemon: add dependency to ensure /run/avahi-daemon is created before socket activation (#417635) 2025-07-02 13:03:14 +02:00
Martin Weinelt
c1e61be472
nixos/greetd: make use of package option (#412309) 2025-07-02 10:37:54 +02:00
Martin Weinelt
b50d97e6b3
treewide: add explicit format attribute for Python packages (#421660) 2025-07-02 10:35:11 +02:00
Jacek Galowicz
862557f761
paisa: init at 0.7.3 (#421235) 2025-07-02 09:02:45 +02:00
Martin Weinelt
ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
Martin Weinelt
1f92c7c42a
nixos/dovecot: improve and harden systemd unit
Remove the major version from the unit name and add an alias for the old
dovecot2 name.

Then restricts what the dovecot service can do, which is very interesting
given that the unit runs as root and spawns less-privileged processes
from there.
2025-07-02 04:45:22 +02:00
Yt
d437b9cd90
vector: 0.47.0 → 0.48.0 (#421502) 2025-07-01 15:08:33 -04:00
Sebastian Kowalak
a5531469e5
paisa: implement feedback 2025-07-01 18:38:29 +02:00
Emily
3019ed2ecf
xen: 4.19.1 -> 4.20.0 (#373294) 2025-07-01 15:35:12 +01:00
Jonathan Davies
c012aca83d
nixos/vector: dnstap test:
* Integrate Knot DNS
* Improve ORDER BY key
2025-07-01 13:23:49 +00:00