Closed kylegortych closed 2 weeks ago
Update
Original issue might have be resolved not sure but, a new problem has arose. Seems to be running in offline mode now for the sysfs-class depen for system76-power v1.1.23.
Please see: https://github.com/NixOS/nixpkgs/issues/348615
Thank you for the fix.
Need help or update on current system76 module build error. Is it just a mater of waiting for the next module update or is there something else that should be done?
Thank you in advance for any help and assistance.
stderr
```fish sudo nix-channel --update unpacking channels... sudo nixos-rebuild boot --upgrade unpacking channels... building Nix... building the system configuration... these 38 derivations will be built: /nix/store/01zgzfq8ybhws42vdqq2jcx0aya7nbl3-google-chrome-stable_129.0.6668.89-1_amd64.deb.drv /nix/store/0nk08b4y5did06nwbhfc8ifny7p9wy1x-system76-module-1.0.13-6.11.1.drv /nix/store/bprg3am8fasaj21vqk1nrj8zpdwv7a4b-system-path.drv /nix/store/wkfvwcirj4wimww28w517n41jb6id6j1-X-Restart-Triggers-polkit.drv /nix/store/0xpyp0wjsf69qncqvazph3lxfbprvg4h-unit-polkit.service.drv /nix/store/2blw38xnc6s4a1ssmfr72kzz3dv13ga4-unit-accounts-daemon.service.drv /nix/store/q1l7581m6mnhpnk64is1zv0864rh0f08-dbus-1.drv /nix/store/5jyrni12hzb8v08nvakfd96z6w21fxrx-X-Restart-Triggers-dbus.drv /nix/store/2qx6l4w17ym28z458inms5yd9adwm2sg-unit-dbus.service.drv /nix/store/rfa3kxf8rn14kiphjlf19dsqq6dr3hma-man-paths.drv /nix/store/gsw9xgrvdmdikphdy8kzjvs6575qskjx-man-cache.drv /nix/store/2svjwsx973h6fqfqqpvjsk8lxhggqpmq-etc-man_db.conf.drv /nix/store/5l3fdnajh9765l336l6v7hzrvfp9g4fr-nixos-configuration-reference-manpage_fish-completions.drv /nix/store/dcn6lf282sjq7k4w92xpr893snb75fy8-nixos-help_fish-completions.drv /nix/store/q152i4h2hfg59pska74nc399kxaqlmna-kdeplasma-addons-6.1.5_fish-completions.drv /nix/store/z4vx4cdyq7mslwvjba1qydc2vr4was69-plasma-desktop-6.1.5_fish-completions.drv /nix/store/2y9h37g2yz1yy91wqr388lcmfplwzp7y-system_fish-completions.drv /nix/store/6ksbzv9a9m3bbaifphfpy5vbzaxlc0a2-user-units.drv /nix/store/ajbjhlb4mww1kj606dicx9h8b8gx7ixz-udev-rules.drv /nix/store/g5bl46qjbdpvl0p5c2hjypdsjx063afd-google-chrome-129.0.6668.89.drv /nix/store/dlpzmqxxhkyg9yj6nv42464zffrh5vp6-kicad-base-8.0.5.drv /nix/store/xk1qkpic5nv0qasxnyggvwjl5lk8cc6z-kicad-small-8.0.5.drv /nix/store/zdymhx1bzgz1s1mxrksbawb77pmzgdk1-home-configuration-reference-manpage.drv /nix/store/h8ccb5vnz0kdf297xq8sxncrqn8r9mvm-home-manager-path.drv /nix/store/nnz2xp0bx8skmgjzjc47faj350014ig1-activation-script.drv /nix/store/s2grdlgnfxfa06vc8fqb9v6mdqs5gdar-home-manager-generation.drv /nix/store/6x7ipii99mqf9h3yxw6k1mp7v0202zlw-unit-home-manager-kg.service.drv /nix/store/c80b6cqzmz60vdy81d50l7aakagldnd7-X-Restart-Triggers-systemd-udevd.drv /nix/store/jnn8rwcsw4d5g1q0dz7gzhisxcch0v19-unit-systemd-udevd.service.drv /nix/store/r3g5m0gs3yd1dy9bi417sws4asg4zzy5-unit-dbus.service.drv /nix/store/prhlz7dsxd3rwlxhqi65qbhms0f1n41k-system-units.drv /nix/store/xjcvdj3hjf2v8zb2y4haj5fnzdc2mq87-hwdb.bin.drv /nix/store/67gvmn6qi9gp14m1pm4j6ckcn50i8blq-etc.drv /nix/store/fli27k829lrcxab39p796m9dhhl5n1mh-linux-6.11.1-modules.drv /nix/store/ipsxprijxk1alzs5agvvik6cpjh85gdj-linux-6.11.1-modules-shrunk.drv /nix/store/z10a24y7if3f45czq31mi8ibf9wbq5wp-initrd-linux-6.11.1.drv /nix/store/fgrn0fd32q74kbj8swkfk5fpqf4h2aw6-boot.json.drv /nix/store/ypzvi12fpqaq32d45j4df8g1kaqpca2z-nixos-system-dev-null-24.11pre688563.bc947f541ae5.drv this path will be fetched (1.08 MiB download, 7.97 MiB unpacked): /nix/store/1wvjrn4jnxjk3gj2xjix4jr5lsxl74kd-kdeplasma-addons-6.1.5 copying path '/nix/store/1wvjrn4jnxjk3gj2xjix4jr5lsxl74kd-kdeplasma-addons-6.1.5' from 'https://cache.nixos.org'... building '/nix/store/5l3fdnajh9765l336l6v7hzrvfp9g4fr-nixos-configuration-reference-manpage_fish-completions.drv'... building '/nix/store/dcn6lf282sjq7k4w92xpr893snb75fy8-nixos-help_fish-completions.drv'... building '/nix/store/z4vx4cdyq7mslwvjba1qydc2vr4was69-plasma-desktop-6.1.5_fish-completions.drv'... building '/nix/store/0nk08b4y5did06nwbhfc8ifny7p9wy1x-system76-module-1.0.13-6.11.1.drv'... building '/nix/store/zdymhx1bzgz1s1mxrksbawb77pmzgdk1-home-configuration-reference-manpage.drv'... building '/nix/store/01zgzfq8ybhws42vdqq2jcx0aya7nbl3-google-chrome-stable_129.0.6668.89-1_amd64.deb.drv'... building '/nix/store/dlpzmqxxhkyg9yj6nv42464zffrh5vp6-kicad-base-8.0.5.drv'... Running phase: unpackPhase unpacking source archive /nix/store/8sx9ffvb06s74wc8hhx5f8xjwalm71kn-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase build flags: SHELL=/nix/store/izpf49b74i15pcr9708s3xdwyqs4jxwl-bash-5.2p32/bin/bash KERNEL_DIR=/nix/store/k3j2lh3hfc7r7s63zjyryydqxyis9wdk-linux-6.11.1-dev/lib/modules/6.11.1/build make -C "/nix/store/k3j2lh3hfc7r7s63zjyryydqxyis9wdk-linux-6.11.1-dev/lib/modules/6.11.1/build" M="/build/source" modules make[1]: Entering directory '/nix/store/k3j2lh3hfc7r7s63zjyryydqxyis9wdk-linux-6.11.1-dev/lib/modules/6.11.1/build' building '/nix/store/q152i4h2hfg59pska74nc399kxaqlmna-kdeplasma-addons-6.1.5_fish-completions.drv'... building '/nix/store/rfa3kxf8rn14kiphjlf19dsqq6dr3hma-man-paths.drv'... building '/nix/store/bprg3am8fasaj21vqk1nrj8zpdwv7a4b-system-path.drv'... CC [M] /build/source/system76.o trying https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_129.0.6668.89-1_amd64.deb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed Running phase: unpackPhase unpacking source archive /nix/store/14awf8spxizph53f7jrbqh84vbdvdk6i-source In file included from /build/source/system76.c:110: /build/source/system76_hwmon.c:24:5: warning: this use of "defined" may not be portable [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wexpansion-to-defined-Wexpansion-to-defined8;;] 24 | #if S76_HAS_HWMON | ^~~~~~~~~~~~~ /build/source/system76_hwmon.c:24:5: warning: this use of "defined" may not be portable [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wexpansion-to-defined-Wexpansion-to-defined8;;] /build/source/system76_hwmon.c:24:5: warning: this use of "defined" may not be portable [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wexpansion-to-defined-Wexpansion-to-defined8;;] /build/source/system76.c:283:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] 283 | .remove = s76_remove, | ^~~~~~~~~~ /build/source/system76.c:283:19: note: (near initialization for 's76_platform_driver.Meta info
OS: NixOS 24.11pre680873.345c263f2f53 (Vicuna) x86_64 Host: System76 Pangolin Kernel: 6.10.10 Shell: fish 3.7.1 DE: Plasma 6.1.5 (Wayland) WM: kwin Terminal: WezTerm CPU: AMD Ryzen 7 6800U with Radeon Graphics (16) @ 4.768GHz GPU: AMD ATI Radeon 680M sudo nix-channel --list home-manager https://github.com/nix-community/home-manager/archive/master.tar.gz nixos https://nixos.org/channels/nixos-unstable nix --version nix (Nix) 2.18.5configuration.nix
```nix # 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