Open mevatron opened 1 month ago
Actual for my config too:
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.9.0, NixOS, 23.11 (Tapir), 23.11.7122.9ddcaffecdf0`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.1`
- channels(root): `"nixos-23.11"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
This only happens for me if boot.kernelPackages = pkgs.linuxPackages_latest;
is set.
It worked fine with kernel 6.8
, but it now seems to break with kernel 6.9.0
.
My system info:
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.9.0, NixOS, 23.11 (Tapir), 23.11.20240514.9ddcaff`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.1`
- channels(root): `"nixos-23.11, nixos-hardware"`
- channels(konsti): `"nixpkgs-unstable"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
I'm having the same problem with kernel 6.8.9, creating the same build log as mentioned above.
Zero clue about the build process for the virtualbox package, but I've temporarily commented out virtualisation.virtualbox.host.enable = true;
and it solved the issue.
I'm not too knowledgeable on how nix packages are built, but as the log mentions c code, there may have been a regression upstream with the actual source code. This is just a guess though.
nix-info:
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 6.8.9, NixOS, 24.05 (Uakari), 24.05.20240505.25865a4`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.2`
- channels(root): `"home-manager-23.11.tar.gz, nixos-23.11"`
- nixpkgs: `/nix/store/3pif36ks3f56py4wb1dkq6sh0nkf3ygj-source`
As per the VirtualBox Changelog, version 7.0.16 adds support for kernel 6.9(see the upstream bug report). Therefore, #311362 should resolve this, but it depends on #303790 being merged first. Once both of those are merged, the build should be fixed. For now, though, you should set virtualisation.virtualbox.host.enable
to false
.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-am-i-unable-to-build-vmware-for-the-last-few-weeks/46278/2
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/thinkpad-t14s-wont-power-down/46809/10
Steps To Reproduce
Steps to reproduce the behavior:
virtualisation.virtualbox.host.enable = true;
set in my system config.Build log
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.