linuxPackages.nvidiaPackages.vulkan_beta: 550.40.79 -> 550.40.80 (#358235)
This commit is contained in:
commit
41262c1f43
@ -62,6 +62,8 @@ rec {
|
|||||||
settingsSha256 = "sha256-kQsvDgnxis9ANFmwIwB7HX5MkIAcpEEAHc8IBOLdXvk=";
|
settingsSha256 = "sha256-kQsvDgnxis9ANFmwIwB7HX5MkIAcpEEAHc8IBOLdXvk=";
|
||||||
persistencedSha256 = "sha256-E2J2wYYyRu7Kc3MMZz/8ZIemcZg68rkzvqEwFAL3fFs=";
|
persistencedSha256 = "sha256-E2J2wYYyRu7Kc3MMZz/8ZIemcZg68rkzvqEwFAL3fFs=";
|
||||||
patchesOpen = [ fbdev_linux_611_patch ];
|
patchesOpen = [ fbdev_linux_611_patch ];
|
||||||
|
|
||||||
|
broken = kernel.kernelAtLeast "6.12";
|
||||||
});
|
});
|
||||||
|
|
||||||
beta = selectHighestVersion latest (generic {
|
beta = selectHighestVersion latest (generic {
|
||||||
@ -77,14 +79,16 @@ rec {
|
|||||||
# Vulkan developer beta driver
|
# Vulkan developer beta driver
|
||||||
# See here for more information: https://developer.nvidia.com/vulkan-driver
|
# See here for more information: https://developer.nvidia.com/vulkan-driver
|
||||||
vulkan_beta = generic rec {
|
vulkan_beta = generic rec {
|
||||||
version = "550.40.79";
|
version = "550.40.80";
|
||||||
persistencedVersion = "550.54.14";
|
persistencedVersion = "550.54.14";
|
||||||
settingsVersion = "550.54.14";
|
settingsVersion = "550.54.14";
|
||||||
sha256_64bit = "sha256-t/i/MeAkw03evuil0lbQnDiOVQmc8xAZqGo5P+BnUt8=";
|
sha256_64bit = "sha256-fuI9G9KHCCddtPNDz+8FAkporSB7G97UU/pw4KGGZOE=";
|
||||||
openSha256 = "sha256-mWoI6j/OqAPrGrw6QwdOT9kFPzg3PSNSZW5JDlRTB+s=";
|
openSha256 = "sha256-+soDdbklk8wr/G5cj4BzZ8ql0zeHSswJ2OkOv59uMp0=";
|
||||||
settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4=";
|
settingsSha256 = "sha256-m2rNASJp0i0Ez2OuqL+JpgEF0Yd8sYVCyrOoo/ln2a4=";
|
||||||
persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4=";
|
persistencedSha256 = "sha256-XaPN8jVTjdag9frLPgBtqvO/goB5zxeGzaTU0CdL6C4=";
|
||||||
url = "https://developer.nvidia.com/downloads/vulkan-beta-${lib.concatStrings (lib.splitVersion version)}-linux";
|
url = "https://developer.nvidia.com/downloads/vulkan-beta-${lib.concatStrings (lib.splitVersion version)}-linux";
|
||||||
|
|
||||||
|
broken = kernel.kernelAtLeast "6.12";
|
||||||
};
|
};
|
||||||
|
|
||||||
# data center driver compatible with current default cudaPackages
|
# data center driver compatible with current default cudaPackages
|
||||||
|
@ -32,6 +32,8 @@
|
|||||||
|
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, runCommandLocal
|
||||||
|
, patchutils
|
||||||
, callPackage
|
, callPackage
|
||||||
, pkgs
|
, pkgs
|
||||||
, pkgsi686Linux
|
, pkgsi686Linux
|
||||||
@ -68,6 +70,29 @@ assert useFabricmanager -> fabricmanagerSha256 != null;
|
|||||||
assert useFabricmanager -> !useSettings;
|
assert useFabricmanager -> !useSettings;
|
||||||
|
|
||||||
let
|
let
|
||||||
|
# Rewrites patches meant for the kernel/* folder structure to kernel-open/*
|
||||||
|
rewritePatch =
|
||||||
|
{ from, to }:
|
||||||
|
patch:
|
||||||
|
runCommandLocal (builtins.baseNameOf patch)
|
||||||
|
{
|
||||||
|
inherit patch;
|
||||||
|
nativeBuildInputs = [ patchutils ];
|
||||||
|
}
|
||||||
|
''
|
||||||
|
lsdiff \
|
||||||
|
-p1 -i ${from}/'*' \
|
||||||
|
"$patch" \
|
||||||
|
| sort -u | sed -e 's/[*?]/\\&/g' \
|
||||||
|
| xargs -I{} \
|
||||||
|
filterdiff \
|
||||||
|
--include={} \
|
||||||
|
--strip=2 \
|
||||||
|
--addoldprefix=a/${to}/ \
|
||||||
|
--addnewprefix=b/${to}/ \
|
||||||
|
--clean "$patch" > "$out"
|
||||||
|
'';
|
||||||
|
|
||||||
nameSuffix = lib.optionalString (!libsOnly) "-${kernel.version}";
|
nameSuffix = lib.optionalString (!libsOnly) "-${kernel.version}";
|
||||||
pkgSuffix = lib.optionalString (lib.versionOlder version "304") "-pkg0";
|
pkgSuffix = lib.optionalString (lib.versionOlder version "304") "-pkg0";
|
||||||
i686bundled = lib.versionAtLeast version "391" && !disable32Bit;
|
i686bundled = lib.versionAtLeast version "391" && !disable32Bit;
|
||||||
@ -144,7 +169,17 @@ let
|
|||||||
}
|
}
|
||||||
else throw "nvidia-x11 does not support platform ${stdenv.hostPlatform.system}";
|
else throw "nvidia-x11 does not support platform ${stdenv.hostPlatform.system}";
|
||||||
|
|
||||||
patches = if libsOnly then null else patches;
|
patches =
|
||||||
|
if libsOnly then
|
||||||
|
null
|
||||||
|
else
|
||||||
|
(
|
||||||
|
patches
|
||||||
|
++ (builtins.map (rewritePatch {
|
||||||
|
from = "kernel-open";
|
||||||
|
to = "kernel";
|
||||||
|
}) patchesOpen)
|
||||||
|
);
|
||||||
inherit prePatch postPatch patchFlags;
|
inherit prePatch postPatch patchFlags;
|
||||||
inherit preInstall postInstall;
|
inherit preInstall postInstall;
|
||||||
inherit version useGLVND useProfiles;
|
inherit version useGLVND useProfiles;
|
||||||
@ -202,7 +237,12 @@ let
|
|||||||
(hash: callPackage ./open.nix {
|
(hash: callPackage ./open.nix {
|
||||||
inherit hash;
|
inherit hash;
|
||||||
nvidia_x11 = self;
|
nvidia_x11 = self;
|
||||||
patches = patchesOpen;
|
patches =
|
||||||
|
(builtins.map (rewritePatch {
|
||||||
|
from = "kernel";
|
||||||
|
to = "kernel-open";
|
||||||
|
}) patches)
|
||||||
|
++ patchesOpen;
|
||||||
broken = brokenOpen;
|
broken = brokenOpen;
|
||||||
})
|
})
|
||||||
openSha256;
|
openSha256;
|
||||||
|
Loading…
Reference in New Issue
Block a user