21.11 -> 22.05 upgrade questions thread

Thanks, error is gone and the upgrade is starting (lets see how it ends :slight_smile:

loader = {
        #systemd-boot.enable = true ;  # issue if active
        efi = {
          canTouchEfiVariables = true ;
          } ;
        grub = {
            enable  = true ;
            version = 2;
            enableCryptodisk = true;
            efiSupport = true ;            
            devices  = [ "nodev" ]   ; 
            useOSProber = true ;  
           } ;
        } ;
error: The option `system.build.installBootLoader' is defined multiple times.
       Only one bootloader can be enabled at a time. This requirement has not
       been checked until NixOS 22.05. Earlier versions defaulted to the last
       definition. Change your configuration to enable only one bootloader.

       Definition values:
       - In `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix': <derivation /nix/store/pc51mqw9l1ygs40gc4a6rbh54c80hsd9-install-grub.sh.drv>
       - In `/home/ae/.nix-defexpr/channels/nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix': <derivation /nix/store/y47482lpjs4dv2q5dpxsv1phs3pm2crx-systemd-boot.drv>

       … while evaluating 'mergeUniqueOption'

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/options.nix:175:41:

          174|
          175|   mergeUniqueOption = { message }: loc: defs:
             |                                         ^
          176|     if length defs == 1

       … from call site

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:782:59:

          781|       if isDefined then
          782|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                                                           ^
          783|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while evaluating the attribute 'mergedValue'

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:780:5:

          779|     # Type-check the remaining definitions, and merge them. Or throw if no definitions.
          780|     mergedValue =
             |     ^
          781|       if isDefined then

       … while evaluating the option `system.build.installBootLoader':

       … while evaluating the attribute 'value'

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:746:9:

          745|     in warnDeprecation opt //
          746|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          747|         inherit (res.defsFinal') highestPrio;

       … while evaluating anonymous lambda

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/modules.nix:296:72:

          295|           # For definitions that have an associated option
          296|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          297|

       … from call site

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:401:20:

          400|               then recurse (path ++ [name]) value
          401|               else f (path ++ [name]) value;
             |                    ^
          402|         in mapAttrs g;

       … while evaluating 'g'

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:398:19:

          397|           g =
          398|             name: value:
             |                   ^
          399|             if isAttrs value && cond value

       … from call site

       … while evaluating anonymous lambda

       at /home/ae/.nix-defexpr/channels/nixpkgs/lib/attrsets.nix:518:24:

          517|     let f = attrPath:
          518|       zipAttrsWith (n: values:
             |                        ^
          519|         let here = attrPath ++ [n]; in

       … from call site

       … while evaluating the attribute 'installBootLoader' of the derivation 'nixos-system-nixos-22.05.481.40e2b1ae053'

       at /nix/store/6rhbj7nmgvifdxvlncib04bg6x1rbp7m-nixpkgs-22.05.481.40e2b1ae053/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:278:7:

          277|     // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
          278|       name =
             |       ^
          279|         let

The error message tells you that two boot loaders have been configured, which is no longer allowed. Then it tells you which files are responsible: nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix and nixpkgs/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix. Which indicates your system has both grub and systemd-boot configured. You sure that systemd-boot.enable = true; line is commented out?

2 Likes

Ok, so I got a fun one: I’m using sway and plasma (as x11 fallback option for some notorious programs like MS teams) and have sddm as display manager.

After updating to 22.05 and rebooting, I’m dropped into tty1, with the login prompt only responding slowly. Switching to tty7 only shows a blinking cursor instead of the usual login prompt. The configuration looks like this (only an excerpt of the parts I think are relevant here):

  services.xserver.desktopManager.plasma5 = {
    enable = true;
  };

  programs.sway = {
    enable = true;
    wrapperFeatures.gtk = true; # so that gtk works properly
    extraPackages = with pkgs; [
      swaylock
      swayidle
      xwayland # for legacy apps
      waybar
      wl-clipboard
      mako # notification daemon
      bemenu
      kanshi # replacement for autorandr
      sway-contrib.grimshot
      imv # image viewer
    ];
    extraSessionCommands = ''
      export SDL_VIDEODRIVER=wayland
      # needs qt5.qtwayland in systemPackages
      export QT_QPA_PLATFORM=wayland
      export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
      # Fix for some Java AWT applications (e.g. Android Studio),
      # use this if they aren't displayed properly:
      export _JAVA_AWT_WM_NONREPARENTING=1
      # firefox x11 <-> wayland interoperability
      export MOZ_DBUS_REMOTE=1
    '';
  };

  programs.waybar.enable = true;

  services.redshift = {
    enable = true;
    package = pkgs.gammastep;
    temperature.night = 3500;
  };

  # ------------ Display Manager ----------------------------------------------
  # use sddm for authentication
  services.xserver.enable = true;
  services.xserver.displayManager.sddm = {
    enable = true;
  };

After poking it a bit, it seems like the display is not found (a similar message appears in the logs after running sway manually, although this at least produces a desktop environment, even though the waybar is not shown). The full log is pasted here.

I’m not sure where to start my investigations. I changed nothing in my config except for removing two packages (Rstudio and a cli tool) causing trouble at build time.

  • system: "x86_64-linux"
  • host os: Linux 5.15.43, NixOS, 22.05 (Quokka), 22.05.615.11e805f9935
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.8.1
  • channels(root): "nixos-22.05, nixos-hardware"
  • channels(usere): "nixos-hardware"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
building '/nix/store/x2hwjjn334wnz51vyni44h9ikzmy5745-rtl88x2bu-5.18-unstable-2022-02-22.drv'...
unpacking sources
unpacking source archive /nix/store/hc52ydk171knv4s530lv8agmrfpi7sva-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
build flags: -j8 -l8 SHELL=/nix/store/0d3wgx8x6dxdb2cpnq105z23hah07z7l-bash-5.1-p16/bin/bash O=\$\(buildRoot\) CC=/nix/store/r7r10qvsqlnvbzjkjinvscjlahqbxifl-gcc-wrapper-11.3.0/bin/cc HOSTCC=/nix/store/r7r10qvsqlnvbzjkjinvscjlahqbxifl-gcc-wrapper-11.3.0/bin/cc ARCH=x86_64
grep: /etc/os-release: No such file or directory
make ARCH=x86_64 CROSS_COMPILE= -C /nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/build M=/build/source  modules
make[1]: Entering directory '/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/build'
grep: /etc/os-release: No such file or directory
  CC [M]  /build/source/core/rtw_cmd.o
  CC [M]  /build/source/core/rtw_security.o
  CC [M]  /build/source/core/rtw_debug.o
  CC [M]  /build/source/core/rtw_io.o
  CC [M]  /build/source/core/rtw_ioctl_query.o
  CC [M]  /build/source/core/rtw_ioctl_set.o
  CC [M]  /build/source/core/rtw_ieee80211.o
  CC [M]  /build/source/core/rtw_mlme.o
  CC [M]  /build/source/core/rtw_mlme_ext.o
  CC [M]  /build/source/core/rtw_mi.o
  CC [M]  /build/source/core/rtw_wlan_util.o
  CC [M]  /build/source/core/rtw_vht.o
  CC [M]  /build/source/core/rtw_pwrctrl.o
  CC [M]  /build/source/core/rtw_rf.o
  CC [M]  /build/source/core/rtw_rtl88x2buchplan.o
  CC [M]  /build/source/core/monitor/rtw_radiotap.o
  CC [M]  /build/source/core/rtw_recv.o
  CC [M]  /build/source/core/rtw_sta_mgt.o
  CC [M]  /build/source/core/rtw_ap.o
  CC [M]  /build/source/core/wds/rtw_wds.o
  CC [M]  /build/source/core/mesh/rtw_mesh.o
  CC [M]  /build/source/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /build/source/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /build/source/core/rtw_xmit.o
  CC [M]  /build/source/core/rtw_p2p.o
  CC [M]  /build/source/core/rtw_rson.o
  CC [M]  /build/source/core/rtw_tdls.o
  CC [M]  /build/source/core/rtw_br_ext.o
  CC [M]  /build/source/core/rtw_iol.o
  CC [M]  /build/source/core/rtw_sreset.o
  CC [M]  /build/source/core/rtw_btcoex_wifionly.o
  CC [M]  /build/source/core/rtw_btcoex.o
  CC [M]  /build/source/core/rtw_beamforming.o
  CC [M]  /build/source/core/rtw_odm.o
  CC [M]  /build/source/core/rtw_rm.o
  CC [M]  /build/source/core/rtw_rm_fsm.o
  CC [M]  /build/source/core/rtw_ft.o
  CC [M]  /build/source/core/rtw_wnm.o
  CC [M]  /build/source/core/rtw_mbo.o
  CC [M]  /build/source/core/rtw_rm_util.o
  CC [M]  /build/source/core/efuse/rtw_efuse.o
  CC [M]  /build/source/core/rtw_roch.o
  CC [M]  /build/source/core/crypto/aes-internal.o
  CC [M]  /build/source/core/crypto/aes-internal-enc.o
  CC [M]  /build/source/core/crypto/aes-gcm.o
  CC [M]  /build/source/core/crypto/aes-ccm.o
  CC [M]  /build/source/core/crypto/aes-omac1.o
  CC [M]  /build/source/core/crypto/ccmp.o
  CC [M]  /build/source/core/crypto/gcmp.o
  CC [M]  /build/source/core/crypto/aes-siv.o
  CC [M]  /build/source/core/crypto/aes-ctr.o
  CC [M]  /build/source/core/crypto/sha256-internal.o
  CC [M]  /build/source/core/crypto/sha256.o
  CC [M]  /build/source/core/crypto/sha256-prf.o
  CC [M]  /build/source/core/crypto/rtw_crypto_wrap.o
  CC [M]  /build/source/core/rtw_swcrypto.o
  CC [M]  /build/source/os_dep/osdep_service.o
  CC [M]  /build/source/os_dep/linux/os_intfs.o
  CC [M]  /build/source/os_dep/linux/usb_intf.o
  CC [M]  /build/source/os_dep/linux/usb_ops_linux.o
  CC [M]  /build/source/os_dep/linux/ioctl_linux.o
  CC [M]  /build/source/os_dep/linux/xmit_linux.o
  CC [M]  /build/source/os_dep/linux/mlme_linux.o
  CC [M]  /build/source/os_dep/linux/recv_linux.o
  CC [M]  /build/source/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /build/source/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /build/source/os_dep/linux/wifi_regd.o
  CC [M]  /build/source/os_dep/linux/rtw_android.o
  CC [M]  /build/source/os_dep/linux/rtw_proc.o
  CC [M]  /build/source/os_dep/linux/nlrtw.o
  CC [M]  /build/source/os_dep/linux/rtw_rhashtable.o
  CC [M]  /build/source/hal/hal_intf.o
  CC [M]  /build/source/hal/hal_com.o
  CC [M]  /build/source/hal/hal_com_phycfg.o
  CC [M]  /build/source/hal/hal_phy.o
  CC [M]  /build/source/hal/hal_dm.o
  CC [M]  /build/source/hal/hal_dm_acs.o
  CC [M]  /build/source/hal/hal_btcoex_wifionly.o
  CC [M]  /build/source/hal/hal_btcoex.o
  CC [M]  /build/source/hal/hal_mp.o
  CC [M]  /build/source/hal/hal_mcc.o
  CC [M]  /build/source/hal/hal_hci/hal_usb.o
  CC [M]  /build/source/hal/led/hal_led.o
  CC [M]  /build/source/hal/led/hal_usb_led.o
  CC [M]  /build/source/hal/rtl8822b/rtl8822b_halinit.o
  CC [M]  /build/source/hal/rtl8822b/rtl8822b_mac.o
  CC [M]  /build/source/hal/rtl8822b/rtl8822b_cmd.o
/build/source/hal/hal_hci/hal_usb.c: In function 'usb_init_recv_priv':
/build/source/hal/hal_hci/hal_usb.c:29:22: error: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(long unsigned int)' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type-Werror=cast-function-type8;;]
   29 |                      (void(*)(unsigned long))usb_recv_tasklet,
      |                      ^
cc1: all warnings being treated as errors
make[2]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/scripts/Makefile.build:288: /build/source/hal/hal_hci/hal_usb.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/Makefile:1834: /build/source] Error 2
make[1]: Leaving directory '/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/build'
make: *** [Makefile:2497: modules] Error 2
error: builder for '/nix/store/x2hwjjn334wnz51vyni44h9ikzmy5745-rtl88x2bu-5.18-unstable-2022-02-22.drv' failed with exit code 2;
       last 10 log lines:
       > /build/source/hal/hal_hci/hal_usb.c: In function 'usb_init_recv_priv':
       > /build/source/hal/hal_hci/hal_usb.c:29:22: error: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(long unsigned int)' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcast-function-type-Werror=cast-function-type8;;]
       >    29 |                      (void(*)(unsigned long))usb_recv_tasklet,
       >       |                      ^
       > cc1: all warnings being treated as errors
       > make[2]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/scripts/Makefile.build:288: /build/source/hal/hal_hci/hal_usb.o] Error 1
       > make[2]: *** Waiting for unfinished jobs....
       > make[1]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/Makefile:1834: /build/source] Error 2
       > make[1]: Leaving directory '/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/build'
       > make: *** [Makefile:2497: modules] Error 2
       For full logs, run 'nix log /nix/store/x2hwjjn334wnz51vyni44h9ikzmy5745-rtl88x2bu-5.18-unstable-2022-02-22.drv'.
error: 1 dependencies of derivation '/nix/store/2bkx821hdgji5gwz7n6ym473d0d9i878-kernel-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/mja8bl0a68z7pvqpyx21xbr74h6g06na-linux-5.18-modules.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9l13hsayv0l6i7d0yjq2b889mi6ld7mv-linux-5.18-modules-shrunk.drv' failed to build
error: 1 dependencies of derivation '/nix/store/a1f091hmjwf43w7qdv2bnj39p0r0znzl-stage-1-init.sh.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vi0ppsrlswn22xcismirl3j49lc30akd-initrd-linux-5.18.drv' failed to build
error: 2 dependencies of derivation '/nix/store/dd0drp2qjgi531az6w2xx2ajj1ahzdwj-nixos-system-L13y-22.05.615.11e805f9935.drv' failed to build
boot.extraModulePackages = with config.boot.kernelPackages ; [ 
    broadcom_sta  # issue 
    ];

is failing
(because of the other error I have not yet the error message of this error again)

Hi everyone, running nixos-rebuild boot with the new configuration, I get

evaluating file '/nix/store/53m4sx16hpgdmr8k8ksb6vm0kdrbw11r-nixos-22.05.714.e5556c75ac0/nixos/lib/asserts.nix'
error: infinite recursion encountered

    at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:746:9:

        745 |        in warnDeprecation opt //
        746 |          { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
            |            inherit (res.defsFinal') highestPrio;

I am, in principle, aware of the meaning of infinte recursion in nix. However, I have no clue where this error originate. It could be any of my packages - the log output isn’t meaningful to me. Unfortunately --show-trace doesn’t help, either. The problem supposedly is in /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix.

EDIT: Maybe same issue Infinite recursion encountered after updating to nixpkgs with warnUndeclaredOptions · Issue #175196 · NixOS/nixpkgs · GitHub

 - system: `"x86_64-linux"` 
 - host os: `Linux 5.15.43, NixOS, 22.05 (Quokka), 22.05.751.8b66e3f2ebc` 
 - multi-user?: `yes` 
 - sandbox: `yes` 
 - version: `nix-env (Nix) 2.8.1` 
 - channels(root): `"home-manager-22.05.tar.gz, nixos-22.05"` 
 - channels(usera): `""` 
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

pc with nvidia gpu


zoom starts and shuts down again

strace -f zoom-us 2>&1

[pid 41428] recvmsg(38, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="#\203\372\1\30\0\0\0\6\0\2\0\267K\340\0\0\0\0\0J\2\0\0\v\0\240\10\0\0\0\0"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 128
[pid 41428] write(16, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 41386] <... poll resumed>)         = 1 ([{fd=16, revents=POLLIN}])
[pid 41428] poll([{fd=38, events=POLLIN}], 1, -1 <unfinished ...>
[pid 41386] read(16, "\1\0\0\0\0\0\0\0", 16) = 8
[pid 41386] write(16, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 41386] poll([{fd=16, events=POLLIN}, {fd=44, events=POLLIN}], 2, 0) = 1 ([{fd=16, revents=POLLIN}])
[pid 41386] read(16, "\1\0\0\0\0\0\0\0", 16) = 8
[pid 41386] poll([{fd=16, events=POLLIN}, {fd=44, events=POLLIN}], 2, 2 <unfinished ...>
[pid 41441] <... clock_nanosleep resumed>NULL) = 0
[pid 41441] clock_nanosleep(CLOCK_REALTIME, 0, {tv_sec=0, tv_nsec=100000000},  <unfinished ...>
[pid 41386] <... poll resumed>)         = 0 (Timeout)
[pid 41386] times({tms_utime=38 /* 0.38 s */, tms_stime=33 /* 0.33 s */, tms_cutime=5 /* 0.05 s */, tms_cstime=33 /* 0.33 s */}) = 430936645
[pid 41386] poll([{fd=48, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
[pid 41386] poll([{fd=16, events=POLLIN}, {fd=44, events=POLLIN}], 2, 22 <unfinished ...>
[pid 41436] <... poll resumed>)         = 0 (Timeout)
[pid 41436] times({tms_utime=38 /* 0.38 s */, tms_stime=33 /* 0.33 s */, tms_cutime=5 /* 0.05 s */, tms_cstime=33 /* 0.33 s */}) = 430936645
[pid 41478] <... futex resumed>)        = -1 ETIMEDOUT (Connection timed out)
[pid 41436] poll([{fd=50, events=POLLIN|POLLPRI}], 1, 10 <unfinished ...>
[pid 41478] futex(0x55fef76377b8, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 41478] futex(0x55fef76377b4, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14699, tv_nsec=553562479}, FUTEX_BITSET_MATCH_ANY <unfinished ...>
[pid 41576] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0
[pid 41574] +++ killed by SIGSYS (core dumped) +++
[pid 41395] <... ppoll resumed>)        = ? ERESTARTNOHAND (To be restarted if no handler)
[pid 41576] exit_group(1 <unfinished ...>
[pid 41395] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_DUMPED, si_pid=41574, si_uid=1000, si_status=SIGSYS, si_utime=0, si_stime=1} ---
[pid 41576] <... exit_group resumed>)   = ?
[pid 41395] rt_sigreturn({mask=[CHLD]}) = -1 EINTR (Interrupted system call)
[pid 41395] ppoll([{fd=3, events=POLLIN}], 1, NULL, [], 8 <unfinished ...>
[pid 41415] <... epoll_wait resumed>[{events=EPOLLIN|EPOLLERR|EPOLLHUP, data={u32=35, u64=35}}], 32, -1) = 1
[pid 41576] +++ exited with 1 +++
[pid 41415] recvmsg(35, {msg_namelen=0}, MSG_DONTWAIT) = -1 ECONNRESET (Connection reset by peer)
[pid 41415] epoll_ctl(24, EPOLL_CTL_DEL, 35, 0x7f82d77fd360) = 0
[pid 41415] write(29, "\0", 1)          = 1
[pid 41415] close(35)                   = 0
[pid 41415] epoll_wait(24, [{events=EPOLLIN|EPOLLERR|EPOLLHUP, data={u32=36, u64=36}}, {events=EPOLLIN, data={u32=28, u64=28}}], 32, 0) = 2
[pid 41415] recvmsg(36, {msg_namelen=0}, MSG_DONTWAIT) = -1 ECONNRESET (Connection reset by peer)
[pid 41415] epoll_ctl(24, EPOLL_CTL_DEL, 36, 0x7f82d77fd360) = 0
[pid 41415] write(29, "\0", 1)          = 1
[pid 41415] fcntl(110, F_GETFL)         = 0x8002 (flags O_RDWR|O_LARGEFILE)
[pid 41415] close(110)                  = 0
[pid 41415] write(18, "!", 1)           = 1
[pid 41410] <... poll resumed>)         = 1 ([{fd=17, revents=POLLIN}])
[pid 41415] openat(AT_FDCWD, "/proc/41574/stat", O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 41410] read(17,  <unfinished ...>
[pid 41415] <... openat resumed>)       = 35
[pid 41410] <... read resumed>"!", 2)   = 1
[pid 41415] newfstatat(35, "", {st_mode=S_IFREG|0444, st_size=0, ...}, AT_EMPTY_PATH) = 0
[pid 41410] poll([{fd=15, events=POLLIN}, {fd=17, events=POLLIN}, {fd=27, events=POLLIN}], 3, 0 <unfinished ...>
[pid 41415] lseek(35, 0, SEEK_SET <unfinished ...>
[pid 41410] <... poll resumed>)         = 0 (Timeout)
[pid 41415] <... lseek resumed>)        = 0
[pid 41410] poll([{fd=15, events=POLLIN}, {fd=17, events=POLLIN}, {fd=27, events=POLLIN}], 3, 26203 <unfinished ...>
[pid 41415] fstat(35, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
[pid 41415] read(35, "41574 (.zoom) Z 41395 41382 4135"..., 65536) = 187
[pid 41415] read(35, "", 64512)         = 0
[pid 41415] close(35)                   = 0
[pid 41415] sendmsg(13, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\f\0\0\0\2\0\0\0\1\0\0\0f\242\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 16
[pid 41395] <... ppoll resumed>)        = 1 ([{fd=3, revents=POLLIN}])
[pid 41415] read(13,  <unfinished ...>
[pid 41395] recvmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\f\0\0\0\2\0\0\0\1\0\0\0f\242\0\0", iov_len=12288}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 41395] kill(41574, SIGKILL)        = 0
[pid 41395] wait4(41574, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSYS && WCOREDUMP(s)}], 0, NULL) = 41574
[pid 41395] write(3, "\10\0\0\0\3\0\0\0\237\0\0\0", 12) = 12
[pid 41415] <... read resumed>"\10\0\0\0\3\0\0\0\237\0\0\0", 128) = 12
[pid 41395] ppoll([{fd=3, events=POLLIN}], 1, NULL, [], 8 <unfinished ...>
[pid 41415] futex(0x7f830ff35130, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 41415] write(2, "[0613/110732.749409:FATAL:gpu_da"..., 100) = 100
[pid 41415] gettid()                    = 41415
[pid 41415] --- SIGTRAP {si_signo=SIGTRAP, si_code=SI_KERNEL} ---
[pid 41415] rt_sigaction(SIGTRAP, NULL, {sa_handler=0x55fef1b35220, sa_mask=[ILL TRAP ABRT BUS FPE SEGV], sa_flags=SA_RESTORER|SA_ONSTACK|SA_SIGINFO, sa_restorer=0x7f8301a7a0e0}, 8) = 0
[pid 41415] prctl(PR_SET_DUMPABLE, SUID_DUMP_USER) = 0
[pid 41415] gettid()                    = 41415
[pid 41415] mmap(NULL, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f827033f000
[pid 41415] getpid()                    = 41386
[pid 41415] pipe([35, 60])              = 0
[pid 41415] clone(child_stack=0x7f8270342e80, flags=CLONE_FS|CLONE_UNTRACED <unfinished ...>
[pid 41440] <... poll resumed>)         = 0 (Timeout)
[pid 41439] <... poll resumed>)         = 0 (Timeout)
[pid 41415] <... clone resumed>)        = 41585
[pid 41415] close(35 <unfinished ...>
[pid 41440] poll([{fd=56, events=POLLIN|POLLPRI}], 1, 10 <unfinished ...>
[pid 41415] <... close resumed>)        = 0
[pid 41439] poll([{fd=54, events=POLLIN|POLLPRI}], 1, 10 <unfinished ...>
[pid 41415] prctl(PR_SET_PTRACER, 41585) = 0
[pid 41415] write(60, "a", 1)           = 1
[pid 41415] wait4(41585, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], __WALL, NULL) = 41585
[pid 41415] close(60)                   = 0
[pid 41415] uname({sysname="Linux", nodename="nixosP34", ...}) = 0
[pid 41415] openat(AT_FDCWD, "/home/ae/.zoom/logs/crash_5.10.4.2845_nixosP34__2022-0613-090732.dmp.gz", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 35
[pid 41415] openat(AT_FDCWD, "/home/ae/.zoom/logs/c2df20cb-42c4-49dc-b811b0b9-f3508a5c.dmp", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 41415] munmap(0x7f827033f000, 16384) = 0
[pid 41415] rt_sigaction(SIGSEGV, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigaction(SIGABRT, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigaction(SIGFPE, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigaction(SIGILL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigaction(SIGBUS, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigaction(SIGTRAP, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x7f8301a7a0e0}, NULL, 8) = 0
[pid 41415] rt_sigreturn({mask=[]})     = 0
[pid 41415] --- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPN, si_addr=0x7f830a17d5a5} ---
[pid 41494] <... futex resumed>)        = 0
[pid 41469] <... poll resumed>)         = 0 (Timeout)
[pid 41484] <... poll resumed>)         = 0 (Timeout)
[pid 41480] <... poll resumed> <unfinished ...>) = ?
[pid 41426] <... futex resumed>)        = ?
[pid 41438] <... futex resumed>)        = ?
[pid 41496] <... poll resumed> <unfinished ...>) = ?
[pid 41485] <... clock_nanosleep resumed> <unfinished ...>) = ?
[pid 41483] <... futex resumed>)        = ?
[pid 41482] <... futex resumed>)        = ?
[pid 41481] <... futex resumed>)        = ?
[pid 41478] <... futex resumed>)        = ?
[pid 41473] <... poll resumed> <unfinished ...>) = ?
[pid 41472] <... poll resumed> <unfinished ...>) = ?
[pid 41471] <... poll resumed> <unfinished ...>) = ?
[pid 41470] <... clock_nanosleep resumed> <unfinished ...>) = ?
[pid 41445] <... pselect6 resumed> <unfinished ...>) = ?
[pid 41441] <... clock_nanosleep resumed> <unfinished ...>) = ?
[pid 41440] <... poll resumed> <unfinished ...>) = ?
[pid 41439] <... poll resumed> <unfinished ...>) = ?
[pid 41437] <... futex resumed>)        = ?
[pid 41436] <... poll resumed> <unfinished ...>) = ?
[pid 41430] <... poll resumed> <unfinished ...>) = ?
[pid 41429] <... poll resumed> <unfinished ...>) = ?
[pid 41428] <... poll resumed> <unfinished ...>) = ?
[pid 41424] <... futex resumed>)        = ?
[pid 41423] <... futex resumed>)        = ?
[pid 41422] <... futex resumed>)        = ?
[pid 41421] <... futex resumed>)        = ?
[pid 41419] <... futex resumed>)        = ?
[pid 41417] <... poll resumed> <unfinished ...>) = ?
[pid 41416] <... futex resumed>)        = ?
[pid 41414] <... futex resumed>)        = ?
[pid 41413] <... futex resumed>)        = ?
[pid 41412] <... futex resumed>)        = ?
[pid 41411] <... epoll_wait resumed> <unfinished ...>) = ?
[pid 41410] <... poll resumed> <unfinished ...>) = ?
[pid 41409] <... wait4 resumed> <unfinished ...>) = ?
[pid 41393] <... restart_syscall resumed>) = ?
[pid 41386] <... poll resumed> <unfinished ...>) = ?
[pid 41421] +++ killed by SIGILL (core dumped) +++
[pid 41470] +++ killed by SIGILL (core dumped) +++
[pid 41437] +++ killed by SIGILL (core dumped) +++
[pid 41481] +++ killed by SIGILL (core dumped) +++
[pid 41429] +++ killed by SIGILL (core dumped) +++
[pid 41445] +++ killed by SIGILL (core dumped) +++
[pid 41494] +++ killed by SIGILL (core dumped) +++
[pid 41482] +++ killed by SIGILL (core dumped) +++
[pid 41472] +++ killed by SIGILL (core dumped) +++
[pid 41496] +++ killed by SIGILL (core dumped) +++
[pid 41483] +++ killed by SIGILL (core dumped) +++
[pid 41485] +++ killed by SIGILL (core dumped) +++
[pid 41471] +++ killed by SIGILL (core dumped) +++
[pid 41473] +++ killed by SIGILL (core dumped) +++
[pid 41480] +++ killed by SIGILL (core dumped) +++
[pid 41484] +++ killed by SIGILL (core dumped) +++
[pid 41478] +++ killed by SIGILL (core dumped) +++
[pid 41469] +++ killed by SIGILL (core dumped) +++
[pid 41441] +++ killed by SIGILL (core dumped) +++
[pid 41439] +++ killed by SIGILL (core dumped) +++
[pid 41438] +++ killed by SIGILL (core dumped) +++
[pid 41436] +++ killed by SIGILL (core dumped) +++
[pid 41430] +++ killed by SIGILL (core dumped) +++
[pid 41428] +++ killed by SIGILL (core dumped) +++
[pid 41426] +++ killed by SIGILL (core dumped) +++
[pid 41424] +++ killed by SIGILL (core dumped) +++
[pid 41440] +++ killed by SIGILL (core dumped) +++
[pid 41423] +++ killed by SIGILL (core dumped) +++
[pid 41422] +++ killed by SIGILL (core dumped) +++
[pid 41419] +++ killed by SIGILL (core dumped) +++
[pid 41417] +++ killed by SIGILL (core dumped) +++
[pid 41416] +++ killed by SIGILL (core dumped) +++
[pid 41414] +++ killed by SIGILL (core dumped) +++
[pid 41413] +++ killed by SIGILL (core dumped) +++
[pid 41412] +++ killed by SIGILL (core dumped) +++
[pid 41411] +++ killed by SIGILL (core dumped) +++
[pid 41410] +++ killed by SIGILL (core dumped) +++
[pid 41409] +++ killed by SIGILL (core dumped) +++
[pid 41393] +++ killed by SIGILL (core dumped) +++
[pid 41408] <... ppoll resumed>)        = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
[pid 41395] <... ppoll resumed>)        = 1 ([{fd=3, revents=POLLIN|POLLHUP}])
[pid 41408] recvmsg(3,  <unfinished ...>
[pid 41395] recvmsg(3,  <unfinished ...>
[pid 41408] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=12288}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0
[pid 41395] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="", iov_len=12288}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 0
[pid 41408] exit_group(0)               = ?
[pid 41395] exit_group(0)               = ?
[pid 41408] +++ exited with 0 +++
[pid 41396] <... waitid resumed>{si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8, si_uid=1000, si_status=0, si_utime=12297829382473034410, si_stime=12297829382473034410}, WEXITED, NULL) = 0
[pid 41396] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
[pid 41396] rt_sigreturn({mask=[]})     = 0
[pid 41396] exit_group(0)               = ?
[pid 41395] +++ exited with 0 +++
[pid 41396] +++ exited with 0 +++
[pid 41415] +++ killed by SIGILL (core dumped) +++
[pid 41386] +++ killed by SIGILL (core dumped) +++
<... wait4 resumed>[{WIFSIGNALED(s) && WTERMSIG(s) == SIGILL && WCOREDUMP(s)}], 0, NULL) = 41386
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=41386, si_uid=1000, si_status=SIGILL, si_utime=31, si_stime=54} ---
write(2, "zoom was exited due to a handled"..., 44) = 44
write(2, "ZoomLauncher exit.\n", 19)    = 19
exit_group(0)                           = ?
+++ exited with 0 +++

What to do, to get zoom not to powering off?

Hello NixOS team. Firstly thanks for all the great work and congratulations to 22.05.

I am right now trying to upgrade from 21.11 to 22.05 and I had several errors, that I want to report here and ask for answers where I do not really know what is the right action.

It’s my first post here, so please let me know if I did something wrong.

The issues I met:

(1) The option definition services.mysql.bind' in /etc/nixos/configuration.nix’ no longer has any effect; please remove it. Use services.mysql.settings.mysqld.bind-address instead.

For this error it was pretty clear what to do. So I followed the instructions and changed configuration.nix and got to the next error:

(2) error: pulseaudio-modules-bt has been abandoned, and is superseded by pulseaudio’s native bt functionality.

For this error, what I did is removing hardware.pulseaudio.extraModules. After this I get the next error.

(3) error: Package ‘virtualbox-modules-6.1.30-5.18’ in nix/store/67wr862c3gpc9qpya07k7p7limz58sxs-nixos-22.05.866.1f8d88087a3/nixos/pkgs/os-specific/linux/virtualbox/default.nix:21
is marked as broken, refusing to evaluate.
a) To temporarily allow broken packages, you can use an environment variable for a single invocation of the nix tools.

This error is a bit scary for me, as I rely on VirtualBox for my daily work, I need it to run Windows inside. I tried to search for this issue on github, but didn’t find anything conclusive for me. I mean if a package is makred as broken, then there is a reason for this.

I thought that it is maybe the extension pack (even if I need it for USB 3 support), and removed the line
virtualisation.virtualbox.host.enableExtensionPack = true;

However this does not resolve my issue. So I am stuck with 21.11. What should I do?

Thanks in advance for any help!

1 Like

Hello, just to replying to myself, as I got help from a reddit user that seems to solve this issue [1].

The reason was that few months ago when I migrated to newer hardware I needed the latest kernel (for the wifi to work), and activated this in my configuration via:

boot.kernelPackages = pkgs.linuxPackages_latest;

But I completely forgot it and now need to go just to the default kernel. Removing the above configuration line seems to resolve the issue and my system is upgrading right now :slight_smile:

[1] https://www.reddit.com/r/NixOS/comments/vbcmm5/upgrade_to_2205_not_working_saying/

1 Like

FYI, when [Backport release-22.05] virtualbox: 6.1.30 -> 6.1.34 by github-actions[bot] · Pull Request #177413 · NixOS/nixpkgs · GitHub gets merged, using the latest kernel should also work. (I’m in the same situation; started using latest kernel for HW support, noticed the breakage when upgrading :slight_smile: )

3 Likes

Since upgrading to 22.05, my laptop screen no longer blanks.

Background: I’m using X, with no desktop environment (I use a window manager called notion). I run the following on startup: xset dpms 600 1200 3600. And xset q looks correct:

DPMS (Energy Star):
  Standby: 600    Suspend: 1200    Off: 3600
  DPMS is Enabled
  Monitor is On

On 21.11 and earlier, this would blank my laptop screen after ten minutes. On 22.05, it seems to never turn off.

More background: This is happening on two laptops, a thinkpad x1 carbon gen 4 and a thinkpad p1 gen 3. Both with intel graphics (i915). Using latest kernel, 5.18.0.

The funny part is if I do xset dpms force suspend (or off), it blanks as expected. So dpms works in general, it’s just the timer that’s not working. Nothing shows up in logs at the time when the blanking should happen (and there’s no mention of dpms in logs at all).

Anyone have a clue what might be wrong or how to debug it?

Hello everyone, I am a nixos noob and have been enjoying this awesome os for a few weeks now.
When trying to upgrade to 22.05 I am getting the below error…
I’m not really sure how to proceed with this so if anyone can point me in the right direction I would be very greatful.

[tom@mai:~]$ sudo nix-channel --add https://nixos.org/channels/nixos-22.05 nixos

[tom@mai:~]$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
these 100 derivations will be built:
....
Copying /nix/store/2nynz1gghr9cp0vih02zf10p00hkqyas-lvm2-2.03.15/lib/udev/rules.d/95-dm-notify.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/95-dm-notify.rules
Adding rules for package /nix/store/8wszz7358xqy1lgz48z2ackqm2nin06n-bcache-tools-1.0.7
Copying /nix/store/8wszz7358xqy1lgz48z2ackqm2nin06n-bcache-tools-1.0.7/lib/udev/rules.d/69-bcache.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules
Adding rules for package /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-broadmobi-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-cinterion-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-dell-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-dlink-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-ericsson-mbm.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-fibocom-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules
building '/nix/store/1x0njp5mvcqfim909bbin03pg06ykrbf-options-db.xml.drv'...
building '/nix/store/4ja0wq5v8wfan2fc6b8kfy0yhzyj66sp-sway-1.7.drv'...
building '/nix/store/lfa4w1pbad4jfpgg63c8kfdik22lqls4-sway-session.target.drv'...
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-foxconn-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-gosuncn-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-haier-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-huawei-net-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-longcheer-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-longcheer-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-mtk-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-mtk-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-nokia-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-nokia-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-qcom-soc.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-qcom-soc.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-quectel-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-quectel-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-sierra.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-sierra.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-simtech-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-simtech-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-telit-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-telit-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-tplink-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-tplink-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-ublox-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ublox-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-x22x-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-x22x-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/77-mm-zte-port-types.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-zte-port-types.rules
Copying /nix/store/wkyr88zdzm0anpwqd7x5q6p833vbs8hg-modemmanager-1.18.6/lib/udev/rules.d/80-mm-candidate.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/80-mm-candidate.rules
Adding rules for package /nix/store/hmjkrqcv0fkpb4myal85rpggkfws5gwr-networkmanager-1.38.2
Copying /nix/store/hmjkrqcv0fkpb4myal85rpggkfws5gwr-networkmanager-1.38.2/lib/udev/rules.d/84-nm-drivers.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/84-nm-drivers.rules
Copying /nix/store/hmjkrqcv0fkpb4myal85rpggkfws5gwr-networkmanager-1.38.2/lib/udev/rules.d/85-nm-unmanaged.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/85-nm-unmanaged.rules
Copying /nix/store/hmjkrqcv0fkpb4myal85rpggkfws5gwr-networkmanager-1.38.2/lib/udev/rules.d/90-nm-thunderbolt.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/90-nm-thunderbolt.rules
Adding rules for package /nix/store/8ghgrc94nycsf7cprg4k5lb6blkvhqiv-NetworkManager-fortisslvpn-gnome-1.4.0
Adding rules for package /nix/store/6sbhh64l8qd3byan9viv58zh2w9l7pnc-NetworkManager-iodine-gnome-unstable-2019-11-05
Adding rules for package /nix/store/8q8xgwwsqxq5mzrvv8ic7g6cwayg9pir-NetworkManager-l2tp-gnome-1.20.4
Adding rules for package /nix/store/f600xrqcdz0xjihc0fsi6v0pxp7llv14-NetworkManager-openconnect-1.2.8
Adding rules for package /nix/store/5qbd2rdsincpbxz0pzi5pqvdx7xz49xh-NetworkManager-openvpn-1.8.18
Adding rules for package /nix/store/gprp1jw73rsghd02abd8byxk7spawscy-NetworkManager-vpnc-1.2.8
Adding rules for package /nix/store/3lxn46dra7bswsqakxmajz26sbksny80-NetworkManager-sstp-gnome-1.3.0
Adding rules for package /nix/store/45la7gmpr3cx8hah2lw16n47d3cqyx88-wpa_supplicant-2.10
Adding rules for package /nix/store/201z7fs4c89r23x6ciabp3qs0169yb2k-udisks-2.9.4
Copying /nix/store/201z7fs4c89r23x6ciabp3qs0169yb2k-udisks-2.9.4/lib/udev/rules.d/80-udisks2.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/80-udisks2.rules
Adding rules for package /nix/store/lpl532wzyj30nrp5cr6mknyyannw8vwy-extra-udev-rules
Copying /nix/store/lpl532wzyj30nrp5cr6mknyyannw8vwy-extra-udev-rules/etc/udev/rules.d/99-local.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/99-local.rules
Adding rules for package /nix/store/0g412hyda5rzjsf7m4barny3q8fb9392-extra-hwdb-file
Adding rules for package /nix/store/2mikw6qp03plkfnz1psr21p51vivm58m-pipewire-0.3.51
Copying /nix/store/2mikw6qp03plkfnz1psr21p51vivm58m-pipewire-0.3.51/lib/udev/rules.d/90-pipewire-alsa.rules to /nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/90-pipewire-alsa.rules
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/00-path.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/01-md-raid-creating.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/10-dm.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/11-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/13-dm-disk.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/63-md-raid-arrays.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/64-md-raid-assembly.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-bcache.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-dm-lvm.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/69-md-clustered-confirm-device.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-broadmobi-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-cinterion-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dell-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-dlink-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-ericsson-mbm.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-fibocom-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-foxconn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-gosuncn-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-haier-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/modprobe' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/mdadm' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
substituteStream(): WARNING: pattern '"/sbin/blkid' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
substituteStream(): WARNING: pattern '"/bin/mount' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/readlink' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
substituteStream(): WARNING: pattern '/usr/bin/basename' doesn't match anything in file '/nix/store/23slckcs7dg9522czj65c5x8d5yya1j2-udev-rules/77-mm-huawei-net-port-types.rules'
error: builder for '/nix/store/lfa4w1pbad4jfpgg63c8kfdik22lqls4-sway-session.target.drv' failed to produce output path for output 'out' at '/nix/store/lfa4w1pbad4jfpgg63c8kfdik22lqls4-sway-session.target.drv.chroot/nix/store/1x14klm6lnjdgx9z5pnwn81i92jj1p5p-sway-session.target'
error: 1 dependencies of derivation '/nix/store/zcgsip5n510m438lrmv6yc53zcjx6d4f-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/p8ik4wxr6md72qxglkvbmq8fl48vy7h8-home-manager-generation.drv' failed to build
building '/nix/store/fy2dddmp8vgf4kv4mq70nyyjjni8f2fx-system-generators.drv'...
error: 1 dependencies of derivation '/nix/store/fn45bnnzx7bnibhz0j9xqircrrjfci88-unit-home-manager-tom.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/zg50ahqpvrj3lc4c4ra6im6j2lv4ff98-system-units.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dhhixk8mgvcn5ghw2llljvypml4h497r-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x6kmmb927a8vjlms0vlg7l1fibf7pia3-nixos-system-mai-22.05.1191.ccf8bdf7262.drv' failed to build

[tom@mai:~]$
failed to produce output path for output 'out'

The sway-session.target is empty. I am not sure why and how.

Thanks for pointing that out!
I wonder if this means that something isn’t set correctly in my configuration.nix?
Sorry for super basic questions…

# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
      <home-manager/nixos>
    ];

  # Use the GRUB 2 boot loader.
  boot.loader.grub.enable = true;
  boot.loader.grub.version = 2;
  # boot.loader.grub.efiSupport = true;
  # boot.loader.grub.efiInstallAsRemovable = true;
  # boot.loader.efi.efiSysMountPoint = "/boot/efi";
  # Define on which hard drive you want to install Grub.
  boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only

  # Set your time zone.
  time.timeZone = "Europe/London";

  networking.networkmanager.enable = true;
  networking.hostName = "mai";
  networking.useDHCP = false;
  networking.interfaces.enp6s0.useDHCP = true;
  networking.interfaces.enp9s0.useDHCP = true;


  hardware = {
    opengl = {
      enable = true;
      driSupport = true;
      extraPackages = with pkgs; [
        rocm-opencl-icd
        amdvlk
      ];
    };
  };

  xdg = {
    portal = {
      enable = true;
      extraPortals = with pkgs; [
        xdg-desktop-portal-wlr
	xdg-desktop-portal-gtk
      ];
    };
  };

  system.autoUpgrade.enable = true;
  system.autoUpgrade.allowReboot = true;

   users.mutableUsers = false;
   users.users.tom = {
     isNormalUser = true;
     home = "/home/tom";
     extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user.
   };

  home-manager.useUserPackages = true;
  home-manager.useGlobalPkgs = true;

  home-manager.users.tom = {pkgs, lib, ... }: {
    home.sessionVariables = {
      MOZ_ENABLE_WAYLAND = 1;
      XDG_CURRENT_DESKTOP = "sway";
    };
    programs.home-manager = {
      enable = true;
    };
    wayland.windowManager.sway = {
      enable = true;
      wrapperFeatures.gtk = true;
      config = {
        terminal = "alacritty";
	menu = "wofi --show run";
	modifier = "Mod4";
	bars = [{
	  fonts.size = 10.0;
	  position = "top";
        }];
	output = {
	  DP-2 = {
	    scale = "1.75";
	    bg = "#ffffff solid_color";
	    position = "0 0";
	  };
	  DVI-I-1 = {
	    transform = "270";
	  };
	};
	keybindings = let
	  modifier = "Mod4";
	in lib.mkOptionDefault {
	  "${modifier}+q" = "kill";
	  "${modifier}+m" = "exec swaymsg focus output $(swaymsg -t get_outputs | jq '.[] | select(.focused==false) | .name')";
	};
      };
    };
    programs.zathura = { enable = true; };
    programs.htop = {
      enable = true;
      settings = {
	show_cpu_frequency = 1;
        color_scheme = 1;
      };
    };
    programs.alacritty = {
      enable = true;
      settings = {
	key_bindings = [
	  {
	    key = "Return";
	    mods = "Control|Shift";
	    action = "SpawnNewInstance";
	  }
	];
	colors = {
	  # Default colors
 	  primary = {
 	    background = "#ffffff";
 	    foreground = "#422224";
 	  };

	    # Cursor colors

 	    # Normal colors
 	  normal = {
 	    black =   "#000000";
 	    red =     "#b50021";
 	    green =   "#0d3d12";
 	    yellow =  "#fff000";
 	    blue =    "#000bd2";
 	    magenta = "#781380";
 	    cyan =    "#00086e";
 	    white =   "#bdbd9d";
 	  };

 	      # Bright colors
 	  bright = {
 	    black =   "#000000";
 	    red =     "#ff002e";
 	    green =   "#0d3d12";
 	    yellow =  "#fff000";
 	    blue =    "#000bd2";
 	    magenta = "#781380";
 	    cyan =    "#00086e";
 	    white =   "#ffffff";
 	  };
        };
      };
    };
    programs.git = {
      enable = true;

      package = pkgs.gitAndTools.gitFull;
      userName = "revilotom";
      userEmail = "revilojapan@gmail.com";
      extraConfig = {
        core.editor = "nvim";
	credential.helper = "cache";
      };
    };

  };

  nixpkgs.config.allowUnfree = true;


  # List packages installed in system profile. To search, run:
  # $ nix search wget
   environment.systemPackages = with pkgs; [
     via
     paperlike-go
     lm_sensors
     ddcutil
     firefox-wayland
     jq
     neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
     wget
     parted
     git
     htop
     clinfo
     vulkan-tools
   ];

   environment.loginShellInit = ''
     [[ "$(tty)" == /dev/tty1 ]] && sway
   '';

   nixpkgs.overlays = [
     (self: super: {
       neovim = super.neovim.override {
         viAlias = true;
	 vimAlias = true;
       };
    })
  ];

  fileSystems."/mnt/nas/precious" = {
	device = "//192.168.1.74/precious";
	fsType = "cifs";
	options = let
	# this line prevents hangin on a network split
	  automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
	in ["${automount_opts},credentials=/etc/nixos/smb-secrets"]; 
  };

  # Some programs need SUID wrappers, can be configured further or are
  # started in user sessions.
  programs.sway = {
    enable = true;
    wrapperFeatures.gtk = true;
    extraPackages = with pkgs; [
      swaylock
      swayidle
      wl-clipboard
      mako
      alacritty
      wofi
    ];
  };
  security.pam.services.swaylock = {
    text = "auth include login";
  };
  xdg.portal.wlr.enable = true;

  services.printing.enable = true;
  services.pipewire.enable = true;
  services.openssh.enable = true;
  services.getty.autologinUser = "tom";

  # This value determines the NixOS release from which the default
  # settings for stateful data, like file locations and database versions
  # on your system were taken. It‘s perfectly fine and recommended to leave
  # this value at the release version of the first install of this system.
  # Before changing this value read the documentation for this option
  # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
  system.stateVersion = "21.11"; # Did you read the comment?

  fonts.fonts = with pkgs; [
    carlito
    dejavu_fonts
    ipafont
    kochi-substitute
    source-code-pro
    ttf_bitstream_vera
  ];

  fonts.fontconfig.defaultFonts = {
    monospace = [
      "DejaVu Sans Mono"
      "IPAGothic"
    ];
    sansSerif = [
      "DejaVu Sans"
      "IPAPGothic"
    ];
    serif = [
      "DejaVu Serif"
      "IPAPMincho"
    ];
  };
  i18n.inputMethod.enabled = "fcitx";
  i18n.inputMethod.fcitx.engines = with pkgs.fcitx-engines; [ mozc ];
}

This might be a bug in home-manager: bug: sway.systemdIntegration results in error on 22.05 · Issue #2994 · nix-community/home-manager · GitHub

I’d suspect it’s caused by not enabling wayland.windowManager.sway.systemdIntegration while something else is enabled, or some other kind of combination of settings involving that. I couldn’t spot anything obvious in the module.

Could also be that updating home-manager will solve it, in which case, please share the commit you’re using currently for bisecting purposes :slight_smile:

Thanks so much for replying!
When you mentioned updating home-manager I thought that I better check which channel it was on and low and behold it was still on 21.11! Sorry about that!

I updated the channel for home-manager and I now get a different error?
It saying less-600 cannot be found… Any idea on what less-600 is?

$ sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz home-manager

$ sudo nix-channel --update
unpacking channels...

$ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
these 27 derivations will be built:
  /nix/store/lywzxx19jj9j3nlvwhwyb1z1bc365h24-via-1.3.1-usr-multi.drv
  /nix/store/zd88mx61z81gzrfcm80gph625k9ajbxk-via-1.3.1-usr-target.drv
  /nix/store/0i9p2l2pqax552fm09lzxk0nh45qgyrl-via-1.3.1-fhs.drv
  /nix/store/zb755hziwjf0mp4hrhb58s7vrgyaaclj-via-1.3.1-extracted.drv
  /nix/store/krwgqf2p8233qcnh993jiw56gmkfyajh-via-1.3.1-init.drv
  /nix/store/ai99im02jr8cywi3l068hm2ixszs224k-via-1.3.1.drv
  /nix/store/6k7agx5h33sl9n0jxl5r82qv8ss8g4s8-via-1.3.1.drv
  /nix/store/ypmsnw9r9alv69rbjny4zb24a2zqmqih-system-path.drv
  /nix/store/3z4r0zbrvpkv37gpdih82ybfk72r4dhh-unit-systemd-fsck-.service.drv
  /nix/store/hswphy2ih47h6lx9ngc3qvsmbn7ih3im-unit-polkit.service.drv
  /nix/store/573p6q1rz50fbx1m7xv9ysxpz7naw1nn-manual-combined.drv
  /nix/store/nwx0lqny1pj81vr03pwj4z7vbdfiw914-manual-olinkdb.drv
  /nix/store/fa96v79hf57n0j3ik471aaja9yr9q8dl-man-pages.drv
  /nix/store/ks1a8mn97d76w8ri2qsmwsgwdhgfl4yc-home-manager-path.drv
  /nix/store/p51szkbb1y674w1l3kxd2kllhkj8q6pa-hm_fontconfigconf.d10hmfonts.conf.drv
  /nix/store/icqczg2asix3rykgvvl6kp1yqzq16fpj-home-manager-files.drv
  /nix/store/gzk0s8w4yqvqyw3mj2sn7v6i8dia37ww-home-manager-generation.drv
  /nix/store/jvkhh7gpzz9yy6bnzm93xp6rzgfzfav9-unit-home-manager-tom.service.drv
  /nix/store/6q501hyqlhj7x87cns3xy118rxdri2h1-dbus-1.drv
  /nix/store/vx4sp67hc15ix8s0z1fa48jfglymlfpy-unit-dbus.service.drv
  /nix/store/175a320snj5dijg8ills9z8j8lv797g8-system-units.drv
  /nix/store/i7mb3ca6k9m2d7hpymgrlgz591q52q2j-unit-dbus.service.drv
  /nix/store/xcqaw4c9hyjccyzlayapb53r63byf0sc-unit-xdg-desktop-portal-wlr.service.drv
  /nix/store/6wnf82j3bdpxm1cxvvchzz4h7fw2i6qc-user-units.drv
  /nix/store/a78svlrfbz0q3m60a2na2ppg81h16mpx-user-environment.drv
  /nix/store/h62wnk7d0p2dnynzg7a74rcw8dnxd022-etc.drv
  /nix/store/lnm61cl3c65814akci9hqrb6xyv2byfz-nixos-system-mai-22.05.1191.ccf8bdf7262.drv
building '/nix/store/xcqaw4c9hyjccyzlayapb53r63byf0sc-unit-xdg-desktop-portal-wlr.service.drv'...
building '/nix/store/zb755hziwjf0mp4hrhb58s7vrgyaaclj-via-1.3.1-extracted.drv'...
building '/nix/store/lywzxx19jj9j3nlvwhwyb1z1bc365h24-via-1.3.1-usr-multi.drv'...
error: getting status of '/nix/store/bzjmpspqf13yb5ci5glhxmz7vs03njwb-less-600': No such file or directory

Ok I managed to fix it…
All I needed to do was run:

sudo nix-store --verify --check-contents --repair

Hopefully this might help someone…

1 Like

This also fails to build during a fresh install from the 22.05 minimal live CD for a host for which nixos-generate-config included this broadcom_sta driver. The error output follows:

error: builder for '/nix/store/r6prkz45dsqly2viiw2flaqvx906d0fz-broadcom-sta-6.30.223.271-5.18.drv' failed with exit code 2;
       last 10 log lines:
       >                  from /build/broadcom-sta/src/include/linuxver.h:65,
       >                  from /build/broadcom-sta/src/shared/linux_osl.c:25:
       > /nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/include/linux/fs.h:2868:59: note: expected 'loff_t *' {aka 'long long int *'} but argument is of type 'int'
       >  2868 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
       >       |                                                           ^~~~~~~~
       > cc1: all warnings being treated as errors
       > make[2]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/scripts/Makefile.build:288: /build/broadcom-sta/src/shared/linux_osl.o] Error 1
       > make[1]: *** [/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/source/Makefile:1834: /build/broadcom-sta] Error 2
       > make[1]: Leaving directory '/nix/store/gkf4nhq306r54y7f9mfinmlpjppn04wc-linux-5.18-dev/lib/modules/5.18.0/build'
       > make: *** [Makefile:161: all] Error 2

You’re running into broadcom_sta fails to build (again), this time on kernel 5.18 · Issue #177480 · NixOS/nixpkgs · GitHub. Out-of-tree kernel modules like this one are very sensitive to the kernel version you’re using, if you’re using linux_latest you should expect failures like this (same for zfs and nvidia drivers).

nixpkgs is pretty quick to update in these cases, but often only on unstable, so you might need to open a PR to backport that patch yourself. Or avoid using linux_latest if you don’t actually need the new features, as most people do.

1 Like