Skip to content

Commit a164533

Browse files
authored
staging-nixos merge for 2026-02-09 (NixOS#488714)
2 parents 23cef02 + 9192c8c commit a164533

7 files changed

Lines changed: 29 additions & 13 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
66

7-
- Create the first release note entry in this section!
7+
- The default kernel package has been updated from 6.12 to 6.18. All supported kernels remain available.
88

99
## New Modules {#sec-release-26.05-new-modules}
1010

nixos/modules/tasks/filesystems/bcachefs.nix

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ in
242242
}
243243
];
244244

245-
# Use LTS that bcachefs is compatible with.
246-
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_6_18;
247-
248245
# needed for systemd-remount-fs
249246
system.fsPackages = [ cfg.package ];
250247
services.udev.packages = [ cfg.package ];

pkgs/by-name/ni/nixos-rebuild-ng/src/nixos_rebuild/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,20 +376,20 @@ def main() -> None:
376376

377377
try:
378378
execute(sys.argv)
379+
except KeyboardInterrupt:
380+
sys.exit(130)
379381
except CalledProcessError as ex:
380-
_handle_called_process_error(ex)
381-
except (Exception, KeyboardInterrupt) as ex:
382+
sys.exit(_handle_called_process_error(ex))
383+
except Exception as ex:
382384
if logger.isEnabledFor(logging.DEBUG):
383385
raise
384386
else:
385387
sys.exit(str(ex))
386388

387389

388-
def _handle_called_process_error(ex: CalledProcessError) -> None:
390+
def _handle_called_process_error(ex: CalledProcessError) -> int:
389391
if logger.isEnabledFor(logging.DEBUG):
390-
import traceback
391-
392-
traceback.print_exception(ex)
392+
sys.excepthook(*sys.exc_info())
393393
else:
394394
import shlex
395395

@@ -410,4 +410,4 @@ def _handle_called_process_error(ex: CalledProcessError) -> None:
410410
print(str(ex), file=sys.stderr)
411411

412412
# Exit with the error code of the process that failed
413-
sys.exit(ex.returncode)
413+
return ex.returncode

pkgs/by-name/su/sudo/package.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,18 @@ stdenv.mkDerivation (finalAttrs: {
5454
"--with-sssd-lib=${sssd}/lib"
5555
];
5656

57+
outputs = [
58+
"out"
59+
"man"
60+
"doc"
61+
"dev"
62+
];
63+
# The default stdenv ./configure flags for some reason cause the upstream's
64+
# Makefile to `mkdir /var/db`, which fails in the sandbox. Since we split
65+
# only trivial outputs - a single header and documentation, we can safely set
66+
# the following:
67+
setOutputFlags = false;
68+
5769
postConfigure = ''
5870
cat >> pathnames.h <<'EOF'
5971
#undef _PATH_MV

pkgs/os-specific/linux/kernel/common-config.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ let
591591
DRM_VC4_HDMI_CEC = yes;
592592
# Enable HDMI out on platforms using the RK3588 lineup of SoCs.
593593
ROCKCHIP_DW_HDMI_QP = whenAtLeast "6.13" yes;
594+
# Enable DSI out on platforms using the RK3588 lineup of SoCs.
595+
ROCKCHIP_DW_MIPI_DSI2 = whenAtLeast "6.16" yes;
594596
};
595597

596598
# Enable Rust and features that depend on it

pkgs/tools/security/mkpasswd/default.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ stdenv.mkDerivation {
2121
buildPhase = "make mkpasswd";
2222
installPhase = "make install-mkpasswd";
2323

24+
outputs = [
25+
"out"
26+
"man"
27+
];
28+
2429
meta = {
2530
homepage = "https://packages.qa.debian.org/w/whois.html";
2631
description = "Overfeatured front-end to crypt, from the Debian whois package";

pkgs/top-level/linux-kernels.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ in
278278

279279
linux_6_12_hardened = hardenedKernelFor kernels.linux_6_12 { };
280280

281-
linux_hardened = hardenedKernelFor packageAliases.linux_default.kernel { };
281+
linux_hardened = linux_6_12_hardened;
282282
}
283283
// lib.optionalAttrs config.allowAliases {
284284
linux_libre = throw "linux_libre has been removed due to lack of maintenance";
@@ -812,7 +812,7 @@ in
812812
);
813813

814814
packageAliases = {
815-
linux_default = packages.linux_6_12;
815+
linux_default = packages.linux_6_18;
816816
# Update this when adding the newest kernel major version!
817817
linux_latest = packages.linux_6_19;
818818
linux_rt_default = packages.linux_rt_5_15;

0 commit comments

Comments
 (0)