Resolving dependencies... Configuring hashable-1.2.7.0... Configuring half-0.3... Building half-0.3... Building hashable-1.2.7.0... Installed half-0.3 Configuring random-1.1... Building random-1.1... Installed hashable-1.2.7.0 Configuring storable-complex-0.2.2... Building storable-complex-0.2.2... Installed storable-complex-0.2.2 Installed random-1.1 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed uuid-types-1.0.3 Configuring cuda-0.10.0.0... Failed to install cuda-0.10.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/cuda-0.10.0.0-Br3PMnkQr4IEL6EBY221l0.log ): cabal: Entering directory '/tmp/cabal-tmp-18087/cuda-0.10.0.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-18087/cuda-0.10.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-18087/cuda-0.10.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-18087/cuda-0.10.0.0/dist/setup/setup ... Configuring cuda-0.10.0.0... setup: ******************************************************************************** The configuration process failed to locate your CUDA installation. Ensure that you have installed both the developer driver and toolkit, available from: > http://developer.nvidia.com/cuda-downloads and make sure that `nvcc` is available in your PATH, or set the CUDA_PATH environment variable appropriately. Check the above output log and run the command directly to ensure it can be located. If you have a non-standard installation, you can add additional search paths using --extra-include-dirs and --extra-lib-dirs. Note that 64-bit Linux flavours often require both `lib64` and `lib` library paths, in that order. ******************************************************************************** cabal: Leaving directory '/tmp/cabal-tmp-18087/cuda-0.10.0.0' cabal: Error: some packages failed to install: cublas-0.5.0.0-GBhtEjLTLOj9lZYKGV6bRg depends on cublas-0.5.0.0 which failed to install. cuda-0.10.0.0-Br3PMnkQr4IEL6EBY221l0 failed during the configure step. The exception was: ExitFailure 1 cusolver-0.2.0.0-JDayqziQbey2TFBNibpSBY depends on cusolver-0.2.0.0 which failed to install. cusparse-0.2.0.0-KPcrZB99pNvKnrGx3ZgqXM depends on cusparse-0.2.0.0 which failed to install.