-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
nvidia proprietary legacy driver 304 fails to compile #33395
Comments
It's not about the driver proper but the settings app |
It might be possible to hack around it locally by using a 32-bit settings app (or by dropping it). diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index 50c085dd7ee..b8013ba562c 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -62,7 +62,7 @@ in
hardware.opengl.package = nvidiaPackage nvidia_x11 pkgs;
hardware.opengl.package32 = nvidiaPackage nvidia_libs32 pkgs_i686;
- environment.systemPackages = [ nvidia_x11.bin nvidia_x11.settings ]
+ environment.systemPackages = [ nvidia_x11.bin pkgs_i686.nvidia_x11.settings ]
++ lib.filter (p: p != null) [ nvidia_x11.persistenced ];
boot.extraModulePackages = [ nvidia_x11.bin ]; |
Out of curiosity, I have never had an NVidia card, what is there to configure? At least superficially, |
I imagine some people won't use it: switching outputs/resolution (but DE often provides that), power management, some OpenGL settings... |
Issue description
nixos-rebuild switch
fails when settingservices.xserver.videoDrivers = [ "nvidiaLegacy304" ]
:Steps to reproduce
Set
services.xserver.videoDrivers
as described and do a rebuild.Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
"x86_64-linux"
Linux 4.14.10, NixOS, 17.09.2594.af6aacddc18 (Hummingbird)
no
yes
nix-env (Nix) 1.11.16
"nixos-17.09.2594.af6aacddc18"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
Note: I tried both not having
boot.kernelPackages
set and setting it topkgs.linuxPackages_latest
.The text was updated successfully, but these errors were encountered: