Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute config.boot.kernelPackages missing in framework/kmod.nix #1330

Open
wiggleforlife opened this issue Jan 20, 2025 · 0 comments
Open

Comments

@wiggleforlife
Copy link

Hi, I updated my flake and rebuilt my config on my FW16, and now I get this:

       … while calling the 'head' builtin
         at /nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

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

       … while evaluating definitions from `/nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `system.systemBuilderArgs':

       … while evaluating definitions from `/nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/nixos/modules/system/activation/activatable-system.nix':

       … while evaluating the option `system.activationScripts.etc.text':

       … while evaluating definitions from `/nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/nixos/modules/system/etc/etc-activation.nix':

       … while evaluating definitions from `/nix/store/l9nb64iii15y0nr37qrs1cfm6rlpg6gh-source/nixos/modules/system/etc/etc.nix':

       … while evaluating the option `environment.etc.dbus-1.source':

       … while evaluating the default value of option `hardware.framework.enableKmod`

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'kernelPackages' missing
       at /nix/store/1yy1mqy4jj3xy298p6svvqr6s8gqdy3l-source/framework/kmod.nix:3:50:
            2| let
            3|   kernel_version_compatible = lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.10";
             |                                                  ^
            4| in {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant