blender: darwin add Applications and bin symlinks
This commit is contained in:
parent
023239912c
commit
e4baf44922
1 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,10 @@ stdenv.mkDerivation rec {
|
||||||
--prefix PATH : $program_PATH \
|
--prefix PATH : $program_PATH \
|
||||||
--prefix PYTHONPATH : "$program_PYTHONPATH" \
|
--prefix PYTHONPATH : "$program_PYTHONPATH" \
|
||||||
--add-flags '--python-use-system-env'
|
--add-flags '--python-use-system-env'
|
||||||
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
|
mkdir -p $out/Applications/Blender.app
|
||||||
|
ln -s $out/Blender.app $out/Applications/Blender.app
|
||||||
|
ln -s $out/Blender.app/Contents/MacOS $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
|
# Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
|
||||||
|
|
Loading…
Reference in a new issue