From 8d108db955c24525749b7c895da7a31212501ced Mon Sep 17 00:00:00 2001 From: Ming-Chuan Date: Mon, 22 Dec 2025 11:32:15 +0800 Subject: [PATCH] blender: 5.0.0 -> 5.0.1 --- pkgs/by-name/bl/blender/fix-hip-path.patch | 25 ---------------------- pkgs/by-name/bl/blender/package.nix | 8 ++----- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 pkgs/by-name/bl/blender/fix-hip-path.patch diff --git a/pkgs/by-name/bl/blender/fix-hip-path.patch b/pkgs/by-name/bl/blender/fix-hip-path.patch deleted file mode 100644 index 8d28dc3441fa..000000000000 --- a/pkgs/by-name/bl/blender/fix-hip-path.patch +++ /dev/null @@ -1,25 +0,0 @@ -commit 0c7159ed66e28b4da4275cd79e01b2d0669808a3 (HEAD -> fix-hip-path-syntax-error, amarshall/fix-hip-path-syntax-error) -Author: Andrew Marshall -Date: Thu Nov 20 20:24:20 2025 -0500 - - Fix: Incorrect HIP load path on Linux - - Missing comma meant the following line was concatenated with this one, - causing the path to be - "/opt/rocm/hip/lib/libamdhip64.so.6libamdhip64.so.7". - - Broken in 14bd7a531feddb81a0e522b7db76288639f1ad05. - -diff --git a/extern/hipew/src/hipew.c b/extern/hipew/src/hipew.c -index 3ce13ef7c32..e72ccde69ef 100644 ---- a/extern/hipew/src/hipew.c -+++ b/extern/hipew/src/hipew.c -@@ -244,7 +244,7 @@ static int hipewHipInit(void) { - const char* hip_paths[] = { "libamdhip64.so", - "libamdhip64.so.6", - "/opt/rocm/lib/libamdhip64.so.6", -- "/opt/rocm/hip/lib/libamdhip64.so.6" -+ "/opt/rocm/hip/lib/libamdhip64.so.6", - "libamdhip64.so.7", - "/opt/rocm/lib/libamdhip64.so.7", - "/opt/rocm/hip/lib/libamdhip64.so.7", diff --git a/pkgs/by-name/bl/blender/package.nix b/pkgs/by-name/bl/blender/package.nix index f9453a6d40e2..c27f27613067 100644 --- a/pkgs/by-name/bl/blender/package.nix +++ b/pkgs/by-name/bl/blender/package.nix @@ -117,18 +117,14 @@ in stdenv'.mkDerivation (finalAttrs: { pname = "blender"; - version = "5.0.0"; + version = "5.0.1"; src = fetchzip { name = "source"; url = "https://download.blender.org/source/blender-${finalAttrs.version}.tar.xz"; - hash = "sha256-UUHsylDmMWRcr1gGiXuYnno7D6uMjLqTYd9ak4FnZis="; + hash = "sha256-fNnQRfGfNc7rbk8npkcYtoAqRjJc6MaV4mqtSJxd0EM="; }; - patches = [ - ./fix-hip-path.patch # https://projects.blender.org/blender/blender/pulls/150321 - ]; - postPatch = (lib.optionalString stdenv.hostPlatform.isDarwin '' : > build_files/cmake/platform/platform_apple_xcode.cmake