appleseed: use python3

+4 -3
+4 -3
pkgs/tools/graphics/appleseed/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake, boost165, pkg-config, guile, 2 - eigen, libpng, python, libGLU, qt4, openexr, openimageio, 2 + eigen, libpng, python3, libGLU, qt4, openexr, openimageio, 3 3 opencolorio_1, xercesc, ilmbase, osl, seexpr, makeWrapper 4 4 }: 5 5 6 6 let boost_static = boost165.override { 7 7 enableStatic = true; 8 8 enablePython = true; 9 + python = python3; 9 10 }; 10 11 in stdenv.mkDerivation rec { 11 12 ··· 20 21 }; 21 22 nativeBuildInputs = [ cmake pkg-config makeWrapper ]; 22 23 buildInputs = [ 23 - boost_static guile eigen libpng python 24 + boost_static guile eigen libpng python3 24 25 libGLU qt4 openexr openimageio opencolorio_1 xercesc 25 26 osl seexpr 26 27 ]; ··· 59 60 # Work around a bug in the CMake build: 60 61 postInstall = '' 61 62 chmod a+x $out/bin/* 62 - wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python} 63 + wrapProgram $out/bin/appleseed.studio --set PYTHONHOME ${python3} 63 64 ''; 64 65 } 65 66