treewide: use default compiler for cuda

This commit is contained in:
Nikolay Amiantov
2017-10-16 03:34:16 +03:00
parent 85d3c00dce
commit 378bfba023
4 changed files with 6 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
{ lib, stdenv, stdenv_gcc5, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu
{ lib, stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig, xorg, mesa_glu
, mesa_noglu, glew, ocl-icd, python3
, cudaSupport ? false, cudatoolkit
}:
(if cudaSupport then stdenv_gcc5 else stdenv).mkDerivation rec {
stdenv.mkDerivation rec {
name = "opensubdiv-${version}";
version = "3.2.0";