about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2024-02-25 08:57:07 -0500
committerGitHub <noreply@github.com>2024-02-25 08:57:07 -0500
commit63ae25941893cd49cba67b805ee9d36f7992b6c7 (patch)
tree5eda3ee2d1d67689194c2541044fb1f57f7c2e55 /pkgs/applications
parent288dc9554fbb7b9048f1a06c946b439218af0044 (diff)
parentf7b6bf28638a078628f8ba80e81116e4e69692ab (diff)
Merge pull request #291333 from vcunat/p/blender
blender: patch build after cmake update
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/blender/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index 996e982bdc599..ec1f11617321f 100644
--- a/pkgs/applications/misc/blender/default.nix
+++ b/pkgs/applications/misc/blender/default.nix
@@ -1,4 +1,4 @@
-{ config, stdenv, lib, fetchurl, fetchzip, boost, cmake, ffmpeg, gettext, glew
+{ config, stdenv, lib, fetchurl, fetchzip, fetchpatch, boost, cmake, ffmpeg, gettext, glew
 , libepoxy, libXi, libX11, libXext, libXrender
 , libjpeg, libpng, libsamplerate, libsndfile
 , libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio, openjpeg, python310Packages
@@ -47,6 +47,10 @@ stdenv.mkDerivation (finalAttrs: rec {
 
   patches = [
     ./draco.patch
+    (fetchpatch {
+      url = "https://projects.blender.org/blender/blender/commit/cf4365e555a759d5b3225bce77858374cb07faad.diff";
+      hash = "sha256-Nypd04yFSHYa7RBa8kNmoApqJrU4qpaOle3tkj44d4g=";
+    })
   ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
 
   nativeBuildInputs =