ITADN

[Bug] NixOS 25.05 and Cachyos failing even with workaround

#1237Openpiyoki 创建于 2025-11-04
P
piyokicommented
### What happens? Not able to build cachyos-kernel `6.17.7` ### What is expected to happen? N/A ### If possible, please attach logs ```console ⯁ flake git:(master) ✗ ❯❯❯ just b unpacking 1 channels... warning: Git tree '/home/kev/flake' is dirty building the system configuration... error: builder for '/nix/store/5xj98qxaf2fjsvig2iy1fx109kvhhwav-linux-x86_64-unknown-linux-gnu-6.17.7-modules-shrunk.drv' failed with exit code 1; last 25 log lines: > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/drivers/ata/sata_nv.ko.zst > root module: sata_sis > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/drivers/ata/pata_sis.ko.zst > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/drivers/ata/sata_sis.ko.zst > root module: sata_uli > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/drivers/ata/sata_uli.ko.zst > root module: sata_via > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/drivers/ata/sata_via.ko.zst > root module: sd_mod > builtin dependency: sd_mod > root module: serpent > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/crypto/serpent_generic.ko.zst > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/arch/x86/crypto/serpent-sse2-x86_64.ko.zst > dependency already copied: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/crypto/serpent_generic.ko.zst > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/arch/x86/crypto/serpent-avx-x86_64.ko.zst > dependency already copied: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/crypto/serpent_generic.ko.zst > dependency already copied: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/arch/x86/crypto/serpent-avx-x86_64.ko.zst > copying dependency: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/arch/x86/crypto/serpent-avx2.ko.zst > dependency already copied: /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos/kernel/crypto/serpent_generic.ko.zst > root module: sha1 > builtin dependency: sha1 > root module: sha256 > builtin dependency: sha256 > root module: sha256_generic > modprobe: FATAL: Module sha256_generic not found in directory /nix/store/3fhzfm872cl1xh2xnanihqgqibzh4r8f-linux-x86_64-unknown-linux-gnu-6.17.7-modules/lib/modules/6.17.7-cachyos For full logs, run: nix log /nix/store/5xj98qxaf2fjsvig2iy1fx109kvhhwav-linux-x86_64-unknown-linux-gnu-6.17.7-modules-shrunk.drv error: 1 dependencies of derivation '/nix/store/xaa732gpk9zrfhmmy3glfpipw8rby1h6-initrd-linux-x86_64-unknown-linux-gnu-6.17.7.drv' failed to build error: 1 dependencies of derivation '/nix/store/wvrih13j9s2ly6a45vrm9nbp3zd778ia-nixos-system-nixos-9900x-desktop-25.11.20250819.2007595.drv' failed to build Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/home/kev/flake#nixosConfigurations."9900x-desktop".config.system.build.toplevel' --no-link' returned non-zero exit status 1. error: Recipe `rebuild` failed on line 25 with exit code 1 The last command took 333.714 seconds. ``` ### More information _No response_
4 条评论