File tree Expand file tree Collapse file tree
modules/tasks/filesystems
ni/nixos-rebuild-ng/src/nixos_rebuild Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ] ;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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" ;
Original file line number Diff line number Diff line change 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" ;
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 ;
You can’t perform that action at this time.
0 commit comments