1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

blender: take unversioned cudatoolkit attr

Makes it less weird to do an override, if a user wants to use e.g. cuda
6.5 (also requires gcc 4.8).
This commit is contained in:
Bjørn Forsman 2015-08-19 07:25:25 +02:00
parent d70c01daec
commit 1357692555
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,7 @@
, libtiff, mesa, openal, opencolorio, openexr, openimageio, openjpeg, python
, zlib, fftw
, jackaudioSupport ? false, libjack2
, cudaSupport ? false, cudatoolkit7
, cudaSupport ? false, cudatoolkit
, colladaSupport ? true, opencollada
}:
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
opencolorio openexr openimageio /* openjpeg */ python zlib fftw
]
++ optional jackaudioSupport libjack2
++ optional cudaSupport cudatoolkit7
++ optional cudaSupport cudatoolkit
++ optional colladaSupport opencollada;
postUnpack =

View file

@ -10835,6 +10835,7 @@ let
bleachbit = callPackage ../applications/misc/bleachbit { };
blender = callPackage ../applications/misc/blender {
cudatoolkit = cudatoolkit7;
python = python34;
};