Skip to content

Commit 701f311

Browse files
authored
staging-next 2026-01-12 (#479279)
2 parents 70801e0 + 87100a8 commit 701f311

366 files changed

Lines changed: 15995 additions & 69693 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ci/OWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ pkgs/by-name/fo/forgejo/ @adamcstephens @bendlas @emilylange
434434

435435
# Node.js
436436
/pkgs/build-support/node/build-npm-package @winterqt
437-
/pkgs/build-support/node/fetch-npm-deps @winterqt
437+
/pkgs/build-support/node/prefetch-npm-deps @winterqt
438438
/doc/languages-frameworks/javascript.section.md @winterqt
439439
/pkgs/development/tools/pnpm @Scrumplex @gepbird
440440
/pkgs/build-support/node/fetch-pnpm-deps @Scrumplex @gepbird

lib/licenses.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,18 @@ lib.mapAttrs mkLicense (
742742
fullName = "Historical Permission Notice and Disclaimer - sell xserver variant with MIT disclaimer";
743743
};
744744

745+
hpndSellVariantSafetyClause = {
746+
fullName = "HPND - sell variant with safety critical systems clause";
747+
url = "https://gitlab.freedesktop.org/xorg/driver/xf86-video-voodoo/-/blob/68a5b6d98ae34749cca889f4373b4043d00bfe6a/src/voodoo_dga.c#L12-33";
748+
# TODO: if the license gets accepted to spdx then
749+
# add spdxId
750+
# else
751+
# remove license
752+
# && replace reference with whatever this license is supposed to be then
753+
# https://github.com/spdx/license-list-XML/issues/2922
754+
# spdxId = "HPND-sell-variant-safety-clause";
755+
};
756+
745757
hpndDec = {
746758
fullName = "Historical Permission Notice and Disclaimer - DEC variant";
747759
spdxId = "HPND-DEC";

lib/systems/platforms.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ rec {
8585
BLK_DEV_DM m
8686
DM_CRYPT m
8787
MD y
88-
REISERFS_FS m
8988
BTRFS_FS m
9089
XFS_FS m
9190
JFS_FS m
@@ -430,7 +429,6 @@ rec {
430429
BLK_DEV_DM m
431430
DM_CRYPT m
432431
MD y
433-
REISERFS_FS m
434432
EXT4_FS m
435433
USB_STORAGE_CYPRESS_ATACB m
436434
@@ -475,7 +473,6 @@ rec {
475473
FRAMEBUFFER_CONSOLE y
476474
EXT2_FS y
477475
EXT3_FS y
478-
REISERFS_FS y
479476
MAGIC_SYSRQ y
480477
481478
# The kernel doesn't boot at all, with FTRACE

maintainers/scripts/bootstrap-files/README.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,53 @@ These are called "bootstrap files".
1111

1212
Bootstrap files should always be fetched from hydra and uploaded to `tarballs.nixos.org` to guarantee that all the binaries were built from the code committed into `nixpkgs` repository.
1313

14-
The uploads to `tarballs.nixos.org` are done by `@lovesegfault` today.
14+
The uploads to `tarballs.nixos.org` are done by `@NixOS/infra` team members who have S3 write access.
1515

1616
This document describes the procedure of updating bootstrap files in `nixpkgs`.
1717

18+
## How to upload bootstrap files (for infra team)
19+
20+
When a PR updates bootstrap files, the commit message contains the upload commands.
21+
Infra team members with S3 access can upload as follows:
22+
23+
1. Clone or navigate to the [nixos-infra](https://github.com/NixOS/nixos-infra) repository and enter the `terraform` directory:
24+
25+
```
26+
$ cd nixos-infra/terraform
27+
```
28+
29+
2. Authenticate with AWS SSO:
30+
31+
```
32+
$ aws sso login
33+
```
34+
35+
3. Realize the build output locally (fetch from hydra cache):
36+
37+
```
38+
$ nix-store --realize /nix/store/<hash>-stdenv-bootstrap-tools
39+
```
40+
41+
4. Upload to S3 with public-read ACL:
42+
43+
```
44+
$ aws s3 cp --recursive --acl public-read \
45+
/nix/store/<hash>-stdenv-bootstrap-tools/on-server/ \
46+
s3://nixpkgs-tarballs/stdenv/<target>/<nixpkgs-revision>/
47+
```
48+
49+
5. Verify the upload by downloading and checking hashes:
50+
51+
```
52+
$ aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/<target>/<nixpkgs-revision>/ ./
53+
$ sha256sum bootstrap-tools.tar.xz busybox
54+
$ sha256sum /nix/store/<hash>-stdenv-bootstrap-tools/on-server/*
55+
```
56+
57+
Compare these hashes with those shown in the PR's commit message.
58+
59+
The exact paths and hashes are provided in each bootstrap update commit message generated by `refresh-tarballs.bash`.
60+
1861
## How to request the bootstrap seed update
1962

2063
To get the tarballs updated let's use an example `i686-unknown-linux-gnu` target:
@@ -34,7 +77,7 @@ To get the tarballs updated let's use an example `i686-unknown-linux-gnu` target
3477
To validate cross-targets `binfmt` `NixOS` helper can be useful.
3578
For `riscv64-unknown-linux-gnu` the `/etc/nixos/configuration.nix` entry would be `boot.binfmt.emulatedSystems = [ "riscv64-linux" ]`.
3679

37-
3. Propose the commit as a PR to update bootstrap tarballs, tag people who can help you test the updated architecture and once reviewed tag `@lovesegfault` to upload the tarballs.
80+
3. Propose the commit as a PR to update bootstrap tarballs, tag people who can help you test the updated architecture and once reviewed tag `@NixOS/infra-build` to upload the tarballs.
3881

3982
## How to add bootstrap files for a new target
4083

nixos/doc/manual/release-notes/rl-2605.section.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,41 @@ of pulling the upstream container image from Docker Hub. If you want the old beh
120120
- `services.openssh` now supports generating host SSH keys by setting `services.openssh.generateHostKeys = true` while leaving `services.openssh.enable` disabled. This is particularly useful for systems that have no need of an SSH daemon but want SSH host keys for other purposes such as using agenix or sops-nix.
121121

122122
- `services.slurm` now supports slurmrestd usage through the `services.slurm.rest` NixOS options.
123+
124+
- `glibc` has been updated to version 2.42.
125+
126+
This version no longer makes the stack executable when a shared library requires this. A symptom
127+
is an error like
128+
129+
> cannot enable executable stack as shared object requires: Invalid argument
130+
131+
This is usually a bug. Please consider reporting it to the software maintainers.
132+
133+
In a lot of cases, the library requires the execstack by mistake only. The following workarounds exist:
134+
135+
* When building the shared library in question from source, use the following linker flags to force turning off the
136+
executable flag:
137+
138+
```nix
139+
mkDerivation {
140+
# …
141+
142+
env.NIX_LDFLAGS = "-z,noexecstack";
143+
}
144+
```
145+
146+
* If the sources are not available, the execstack-flag can be cleared with `patchelf`:
147+
148+
```
149+
patchelf --clear-execstack binary-only.so
150+
```
151+
152+
* If the shared library to be loaded actually requires an executable stack and it isn't turned
153+
on by the application loading it, you may force allowing that behavior by setting the
154+
following environment variable:
155+
156+
```
157+
GLIBC_TUNABLES=glibc.rtld.execstack=2
158+
```
159+
160+
**Do not set this globally!** This makes your setup inherently less secure.

nixos/modules/module-list.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1929,7 +1929,6 @@
19291929
./tasks/filesystems/nfs.nix
19301930
./tasks/filesystems/ntfs.nix
19311931
./tasks/filesystems/overlayfs.nix
1932-
./tasks/filesystems/reiserfs.nix
19331932
./tasks/filesystems/squashfs.nix
19341933
./tasks/filesystems/sshfs.nix
19351934
./tasks/filesystems/unionfs-fuse.nix

nixos/modules/security/polkit.nix

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ in
7878
];
7979
systemd.services.polkit.stopIfChanged = false;
8080

81+
systemd.sockets."polkit-agent-helper".wantedBy = [ "sockets.target" ];
82+
8183
# The polkit daemon reads action/rule files
8284
environment.pathsToLink = [ "/share/polkit-1" ];
8385

@@ -94,19 +96,11 @@ in
9496

9597
security.pam.services.polkit-1 = { };
9698

97-
security.wrappers = {
98-
pkexec = {
99-
setuid = true;
100-
owner = "root";
101-
group = "root";
102-
source = "${cfg.package.bin}/bin/pkexec";
103-
};
104-
polkit-agent-helper-1 = {
105-
setuid = true;
106-
owner = "root";
107-
group = "root";
108-
source = "${cfg.package.out}/lib/polkit-1/polkit-agent-helper-1";
109-
};
99+
security.wrappers.pkexec = {
100+
setuid = true;
101+
owner = "root";
102+
group = "root";
103+
source = "${cfg.package.bin}/bin/pkexec";
110104
};
111105

112106
systemd.tmpfiles.rules = [

nixos/modules/services/desktop-managers/gnome.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@ in
390390
systemd.packages = [
391391
pkgs.gnome-session
392392
pkgs.gnome-shell
393+
]
394+
++ removeExcluded [
395+
pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
396+
pkgs.xdg-user-dirs-gtk # Used to create the default bookmarks
393397
];
394398

395399
services.udev.packages = [

nixos/modules/tasks/filesystems.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ let
284284
++ lib.optionals (!config.boot.initrd.checkJournalingFS) [
285285
"ext3"
286286
"ext4"
287-
"reiserfs"
288287
"xfs"
289288
"jfs"
290289
"f2fs"

nixos/modules/tasks/filesystems/reiserfs.nix

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)