nvidiaLegacy304: fix build

Fixes #37768. Fixes #33395. Closes #37866.

abbradar: don't fix settings in a NixOS module.
This commit is contained in:
volth 2018-03-26 14:14:28 +00:00 committed by Nikolay Amiantov
parent ab33c0afde
commit f396dd1dcb

View File

@ -50,8 +50,8 @@ rec {
prePatch = let
debPatches = fetchurl {
url = "mirror://debian/pool/non-free/n/nvidia-graphics-drivers-legacy-304xx/"
+ "nvidia-graphics-drivers-legacy-304xx_304.135-2.debian.tar.xz";
sha256 = "0mhji0ssn7075q5a650idigs48kzf11pzj2ca2n07rwxg3vj6pdr";
+ "nvidia-graphics-drivers-legacy-304xx_304.137-5.debian.tar.xz";
sha256 = "0n8512mfcnvklfbg8gv4lzbkm3z6nncwj6ix2b8ngdkmc04f3b6l";
};
prefix = "debian/module/debian/patches";
applyPatches = pnames: if pnames == [] then null else