nvidia_x11_legacy340: fix patch URL to fix #25721
Using fixed-commit URLs and fetchpatch is just more robust.
This commit is contained in:
parent
890fd54fde
commit
165a6548ad
@ -8,7 +8,7 @@
|
|||||||
, preferGtk2 ? false
|
, preferGtk2 ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{ stdenv, callPackage, callPackage_i686, fetchurl
|
{ stdenv, callPackage, callPackage_i686, fetchurl, fetchpatch
|
||||||
, kernel ? null, xorg, zlib, perl, nukeReferences
|
, kernel ? null, xorg, zlib, perl, nukeReferences
|
||||||
, # Whether to build the libraries only (i.e. not the kernel module or
|
, # Whether to build the libraries only (i.e. not the kernel module or
|
||||||
# nvidia-settings). Used to support 32-bit binaries on 64-bit
|
# nvidia-settings). Used to support 32-bit binaries on 64-bit
|
||||||
@ -49,9 +49,10 @@ let
|
|||||||
then null
|
then null
|
||||||
else if versionOlder version "375"
|
else if versionOlder version "375"
|
||||||
then [
|
then [
|
||||||
(fetchurl {
|
(fetchpatch {
|
||||||
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/4.10.0_kernel.patch?h=packages/nvidia-340xx;
|
name = "kernel-4.10.patch";
|
||||||
sha256 = "08k2phr9kawg6a3v88d4zkj7gdlih29gm5a1gmhpgmvd926k0z5l";
|
url = https://git.archlinux.org/svntogit/packages.git/plain/nvidia-340xx/trunk/4.10.0_kernel.patch?id=53fb1df89;
|
||||||
|
sha256 = "171hb57m968qdjcr3h8ppfzhrchf573f39rdja86a1qq1gmrv7pa";
|
||||||
})
|
})
|
||||||
# from https://git.archlinux.org/svntogit/packages.git/plain/trunk/fs52243.patch?h=packages/nvidia-340xx
|
# from https://git.archlinux.org/svntogit/packages.git/plain/trunk/fs52243.patch?h=packages/nvidia-340xx
|
||||||
# with datestamps removed
|
# with datestamps removed
|
||||||
|
Loading…
Reference in New Issue
Block a user