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

virtualbox-modules-6.1.16-5.10.15 is broken and linuxPackages_5_8 has disappeared #113166

Closed
unclechu opened this issue Feb 15, 2021 · 2 comments
Closed

Comments

@unclechu
Copy link
Member

unclechu commented Feb 15, 2021

After an update from:
https://releases.nixos.org/nixos/20.09/nixos-20.09.2718.e4adbfbab8a
to:
https://releases.nixos.org/nixos/20.09/nixos-20.09.3124.2118cf551b9
linuxPackages_5_8 that I was using has disappeared. virtualbox-modules are broken for newest kernel version.

I have this boot.kernelPackages pin to 5.8 in order to build the non-broken version. But no there is no 5.8, if I try it with pkgs.linuxPackages_5_10 it shows that it’s broken.

λ sudo nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
error: Package ‘virtualbox-modules-6.1.16-5.10.15’ in /nix/store/b5agxjgc63rlji3pvkdg9ksb4j5mpa43-nixos/nixos/pkgs/os-specific/linux/virtualbox/default.nix:20 is marked as broken, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

(use '--show-trace' to show detailed location information)
@unclechu
Copy link
Member Author

linuxPackages_5_4 builds though.

unclechu added a commit to unclechu/nixos-config that referenced this issue Feb 15, 2021
boot.kernelPackages are downgraded from linuxPackages_5_8 to
linuxPackages_5_4 because 5.8 has disappeared after this update.

See NixOS/nixpkgs#113166
@unclechu
Copy link
Member Author

unclechu commented Mar 7, 2021

This now got fixed.
unclechu/nixos-config@b158231

After an update to this release:
https://releases.nixos.org/nixos/20.09/nixos-20.09.3383.37b47da04ca
I managed to rebuild NixOS with boot.kernelPackages = pkgs.linuxPackages_latest.

@unclechu unclechu closed this as completed Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants