mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
blender: use PYTHONPATH (#82341)
See [blender patch](https://developer.blender.org/D6598)
This commit is contained in:
parent
37b590dc45
commit
fd614a72e9
1 changed files with 2 additions and 1 deletions
|
@ -122,7 +122,8 @@ stdenv.mkDerivation rec {
|
|||
# --python-expr is used to workaround https://developer.blender.org/T74304
|
||||
postInstall = ''
|
||||
wrapProgram $blenderExecutable \
|
||||
--add-flags '--python-expr "import sys; sys.path.append(\"${python3Packages.numpy}/${python.sitePackages}\")"'
|
||||
--prefix PYTHONPATH : ${python3Packages.numpy}/${python.sitePackages} \
|
||||
--add-flags '--python-use-system-env'
|
||||
'';
|
||||
|
||||
# Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
|
||||
|
|
Loading…
Reference in a new issue