Dell XPS 15-9500 build fails when importing `<nixos-hardware/dell/xps/15-9500/nvidia>`
I'm trying out NixOS on my Dell XPS 15 9500 laptop and found that repository was recommended for configuring the hardware including the hybrid GPU management. When I try to import `<nixos-hardware/dell/xps/15-9500/nvidia>` module the build fails and gives me the following error
```
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
```
Along with others ( the full error trace is at tend). NixOS version is 25.11. Is there some option I'm missing to enable the NVidia drivers to build/compile?
I am new to NixOS so I could have easily missed something but I would appreciate any help. Let me know if I need to give any more information.
Full error stack trace from build:
```
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/59wi2iij4va1598n21wwz9s90yr37g8f-nvidia-x11-580.119.02-6.19.9.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/10wp0kycjjbzrx1v745f8g0pdz03c9cr-nvidia-x11-580.119.02-6.19.9
/nix/store/cxxixsr4i0pwp1yskinlbw5pydn35c1r-nvidia-x11-580.119.02-6.19.9-bin
/nix/store/msjzvkhwpjj87cjr1pnx071jh9j3f34c-nvidia-x11-580.119.02-6.19.9-firmware
/nix/store/rqj655wy12qzqj9xxggmgkz3rz15nh8f-nvidia-x11-580.119.02-6.19.9-lib32
error: Cannot build '/nix/store/33axhiyww3l36ndyrw645r385cwv8fx4-etc.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/nn7i30lk7mi1hj60nlp2ahqi7hdw0r39-etc
error: Cannot build '/nix/store/jyfwf7jbm2c657j8gmj7g23z4qsvjqxi-firmware.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/vhb0d2xq4isba86a718zcafzknd0isy1-firmware
error: Cannot build '/nix/store/j0b0ckr4k0mac4zj9s19xdwq57hj6kra-system-path.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/3rczlndvc3rm7hrf09jmmknngzca6bzg-system-path
error: Cannot build '/nix/store/ivp2zfg0mx1xswz263rkjg4yrp1w8150-nixos-system-gandalf-25.11.8023.4590696c8693.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/32g3f2qv32yxj1dcw9cgqlk2pldwbi0n-nixos-system-gandalf-25.11.8023.4590696c8693
```
关闭于 2026-03-26 1 条评论