Skip to content

Commit 05de42c

Browse files
authored
blender: Disable assert abort as is expected in blender release builds (#385913)
* Fixes issue on Wayland which hits an assert from terminating Blender, among other potential issues. * Based on the release config in blender/build_files/cmake/config/blender_release.cmake, which is the expected config for release builds of blender, assert aborts are expected to be disabled. This should also just be a better experience for users.
1 parent 8b24638 commit 05de42c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/applications/misc/blender/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ stdenv'.mkDerivation (finalAttrs: {
181181
"-DPYTHON_NUMPY_PATH=${python3Packages.numpy_1}/${python3.sitePackages}"
182182
"-DPYTHON_VERSION=${python3.pythonVersion}"
183183
"-DWITH_ALEMBIC=ON"
184+
"-DWITH_ASSERT_ABORT=OFF"
184185
"-DWITH_BUILDINFO=OFF"
185186
"-DWITH_CODEC_FFMPEG=ON"
186187
"-DWITH_CODEC_SNDFILE=ON"

0 commit comments

Comments
 (0)