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

amdgpu-pro fails to evaluate #127275

Closed
IvarWithoutBones opened this issue Jun 18, 2021 · 2 comments · Fixed by #129071
Closed

amdgpu-pro fails to evaluate #127275

IvarWithoutBones opened this issue Jun 18, 2021 · 2 comments · Fixed by #129071

Comments

@IvarWithoutBones
Copy link
Member

Describe the bug
When adding "amdgpu-pro" to services.xserver.videoDrivers, the following error occurs:

~ > sudo nixos-rebuild switch
building Nix...
building the system configuration...
error: The dpdk driver has been renamed to dpdk-mods.

Log with --show-trace.

To Reproduce
Steps to reproduce the behavior:

  1. Append amdgpu-pro to the services.xserver.videoDrivers array.
  2. Rebuild the system
  3. Notice it fail

Expected behavior
The system should rebuild.

Notify maintainers
@corngood

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.12.10, NixOS, 21.11pre295280.fa0326ce523 (Porcupine)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.12
  • channels(root): "nixos-21.11pre295280.fa0326ce523"
  • channels(ivv): "home-manager, nixpkgs-21.11pre295670.189a1368878"
  • channels(ivar): "home-manager, nixpkgs-21.03pre250049.4b30d5601da, nixos-20.09pre231796.22a81aa5fc1"
  • nixpkgs: /home/ivv/.nix-defexpr/channels/nixpkgs

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: amdgpu-pro
# a list of nixos modules affected by the problem
module: services.xserver.videoDrivers
@Artturin
Copy link
Member

#126060

@walkermalling
Copy link

This also breaks with amdgpu not just amdgpu-pro, e.g.: services.xserver.videoDrivers = [ "amdgpu" ];

Mic92 added a commit to Mic92/nixpkgs that referenced this issue Jul 3, 2021
This was causing evaluation errors in some instances.

Fixes NixOS#127275
Mic92 added a commit to Mic92/nixpkgs that referenced this issue Jul 3, 2021
This was causing evaluation errors in some instances.

Fixes NixOS#127275

(cherry picked from commit 0e82a32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants