From 2f3eab365c2d7dd86f4750caa86a0bb53657c198 Mon Sep 17 00:00:00 2001 From: Daniel Fox Franke Date: Sat, 6 Mar 2021 12:35:35 -0500 Subject: [PATCH] nvidia-x11: 460.39 -> 460.56 --- pkgs/os-specific/linux/nvidia-x11/default.nix | 8 ++++---- .../nvidia-x11/nvidia-setttings-parallel-build.patch | 12 ------------ pkgs/os-specific/linux/nvidia-x11/settings.nix | 6 ------ 3 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 pkgs/os-specific/linux/nvidia-x11/nvidia-setttings-parallel-build.patch diff --git a/pkgs/os-specific/linux/nvidia-x11/default.nix b/pkgs/os-specific/linux/nvidia-x11/default.nix index 73799a421ff0..a5a02206c477 100644 --- a/pkgs/os-specific/linux/nvidia-x11/default.nix +++ b/pkgs/os-specific/linux/nvidia-x11/default.nix @@ -28,10 +28,10 @@ rec { # Policy: use the highest stable version as the default (on our master). stable = if stdenv.hostPlatform.system == "x86_64-linux" then generic { - version = "460.39"; - sha256_64bit = "0zx3v4xas9z18yv1z3irp626h8kvcg8aw344sqpacfh1g106dw0b"; - settingsSha256 = "15fa6lmfmgg02gya47ynx5d7cqsb73w4rbg4ly7lc1pnwl5f9qhm"; - persistencedSha256 = "1dj3w03fa1i32c9c7w9392bg3nr2dk8mm4qm0wv12cv587zml0gx"; + version = "460.56"; + sha256_64bit = "003kwlsghlix2kilrqad7mn7ygkb755rzjlxd0b52vqz1nx1qmsf"; + settingsSha256 = "1xwhbd78q0bc3v8fnlss9amkl03vnvf91ffpfnz0v7clvn3xymkf"; + persistencedSha256 = "0sh2csv04fkimf1msbmdc608gxb3j95g8i3rqf32b1pl9jv0p5ly"; } else legacy_390; diff --git a/pkgs/os-specific/linux/nvidia-x11/nvidia-setttings-parallel-build.patch b/pkgs/os-specific/linux/nvidia-x11/nvidia-setttings-parallel-build.patch deleted file mode 100644 index ed3fe7b6d6df..000000000000 --- a/pkgs/os-specific/linux/nvidia-x11/nvidia-setttings-parallel-build.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/Makefile b/src/Makefile -index acbb1b8..fe97103 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -242,6 +242,7 @@ endif - - define BINARY_DATA_HEADER_RULE - $$(OUTPUTDIR)/$(notdir $(1)).h: -+ $(at_if_quiet)$(MKDIR) $$(OUTPUTDIR) - $(at_if_quiet){ \ - $$(PRINTF) "extern const char _binary_$(subst .,_,$(notdir $(1)))_start[];\n"; \ - $$(PRINTF) "extern const char _binary_$(subst .,_,$(notdir $(1)))_end[];\n"; \ diff --git a/pkgs/os-specific/linux/nvidia-x11/settings.nix b/pkgs/os-specific/linux/nvidia-x11/settings.nix index f75e3aff1734..d5bbf40e2b8a 100644 --- a/pkgs/os-specific/linux/nvidia-x11/settings.nix +++ b/pkgs/os-specific/linux/nvidia-x11/settings.nix @@ -45,12 +45,6 @@ stdenv.mkDerivation { version = nvidia_x11.settingsVersion; inherit src; - patches = [ - # Fix a race condition in parallel builds. - # https://github.com/NVIDIA/nvidia-settings/issues/59#issuecomment-770302032 - ./nvidia-setttings-parallel-build.patch - ]; - nativeBuildInputs = [ pkg-config m4 ]; buildInputs = [ jansson libXv libXrandr libXext libXxf86vm libvdpau nvidia_x11 gtk2 dbus ]