tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
blender: fix libOpenCL path
Nikolay Amiantov
9 years ago
fe33c28e
3c178fe7
+4
-3
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
blender
default.nix
+4
-3
pkgs/applications/misc/blender/default.nix
···
2
2
, ilmbase, libXi, libX11, libXext, libXrender
3
3
, libjpeg, libpng, libsamplerate, libsndfile
4
4
, libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg_1, python
5
5
-
, zlib, fftw, opensubdiv, freetype, jemalloc
5
5
+
, zlib, fftw, opensubdiv, freetype, jemalloc, ocl-icd
6
6
, jackaudioSupport ? false, libjack2
7
7
, cudaSupport ? false, cudatoolkit
8
8
, colladaSupport ? true, opencollada
···
29
29
++ optional cudaSupport cudatoolkit
30
30
++ optional colladaSupport opencollada;
31
31
32
32
-
postUnpack =
32
32
+
postPatch =
33
33
''
34
34
-
substituteInPlace */doc/manpage/blender.1.py --replace /usr/bin/python ${python}/bin/python3
34
34
+
substituteInPlace doc/manpage/blender.1.py --replace /usr/bin/python ${python}/bin/python3
35
35
+
substituteInPlace extern/clew/src/clew.c --replace '"libOpenCL.so"' '"${ocl-icd}/lib/libOpenCL.so"'
35
36
'';
36
37
37
38
cmakeFlags =