blender: remove unnecessary explicit libstdc addition to rpath

This seems to no longer be necessary, I can successfully build with
cudaSupport and perform a CUDA and OptiX render.
This commit is contained in:
Andrew Marshall 2024-03-01 09:32:01 -05:00
parent 13e7acb2e7
commit 6d234d9d5e

View File

@ -291,10 +291,6 @@ stdenv.mkDerivation (finalAttrs: {
ps.zstandard
];
# Since some dependencies are built with gcc 6, we need gcc 6's
# libstdc++ in our RPATH. Sigh.
NIX_LDFLAGS = lib.optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib";
blenderExecutable =
placeholder "out"
+ (if stdenv.isDarwin then "/Applications/Blender.app/Contents/MacOS/Blender" else "/bin/blender");