diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-05-16 22:54:20 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-05-16 22:55:55 +0200 |
commit | 4ac818601e5b38c2be4add23a2932810f977210b (patch) | |
tree | 120dbf5b711d1aef9eae8897773778fc38becba3 /pkgs | |
parent | d31052058e938779f1be3ecf91a0762b79f771fb (diff) |
blender: fix build and minor update to 2.70a
It seems it needs to explicitly know python version in case of 3.4.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/blender/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index 2e9cf46bf8648..0435cf6627185 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -5,11 +5,11 @@ }: stdenv.mkDerivation rec { - name = "blender-2.70"; + name = "blender-2.70a"; src = fetchurl { url = "http://download.blender.org/source/${name}.tar.gz"; - sha256 = "0j73yfpavcrzg5v54kcha7sig6179g5ykrlhih8d288pnb5c7596"; + sha256 = "1rgkijn1nirj3jwh058zv6piw8q4j5wwjapgbvh2hh6fpbj84bgb"; }; buildInputs = [ @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { "-DPYTHON_LIBRARY=python${python.majorVersion}m" "-DPYTHON_LIBPATH=${python}/lib" "-DPYTHON_INCLUDE_DIR=${python}/include/python${python.majorVersion}m" + "-DPYTHON_VERSION=${python.majorVersion}" ]; NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR -I${python}/include/${python.libPrefix}m"; |