Resolving dependencies... Starting half-0.3 Starting splitmix-0.1.0.1 Starting hashable-1.3.0.0 Starting base-orphans-0.8.2 Building base-orphans-0.8.2 Building half-0.3 Building splitmix-0.1.0.1 Building hashable-1.3.0.0 Completed splitmix-0.1.0.1 Starting random-1.2.0 Completed half-0.3 Building random-1.2.0 Completed hashable-1.3.0.0 Completed base-orphans-0.8.2 Starting storable-complex-0.2.3.0 Building storable-complex-0.2.3.0 Completed storable-complex-0.2.3.0 Completed random-1.2.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed uuid-types-1.0.3 Starting cuda-0.10.2.0 Failed to install cuda-0.10.2.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/cuda-0.10.2.0-CRqUereo8MVIWFMzvHYKfh.log ): cabal: Entering directory '/tmp/cabal-tmp-18675/cuda-0.10.2.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-18675/cuda-0.10.2.0/dist/setup/setup.hs, /tmp/cabal-tmp-18675/cuda-0.10.2.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-18675/cuda-0.10.2.0/dist/setup/setup ... Configuring cuda-0.10.2.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-18675/cuda-0.10.2.0' cabal: Error: some packages failed to install: cublas-0.6.0.0-JoVpzwFB9HV5OhJR0W25fA depends on cublas-0.6.0.0 which failed to install. cuda-0.10.2.0-CRqUereo8MVIWFMzvHYKfh failed during the configure step. The exception was: ExitFailure 1 cusolver-0.3.0.0-GPg02dqfBh5884O6CNzCoV depends on cusolver-0.3.0.0 which failed to install. cusparse-0.3.0.0-GGpgfwPPxOv2MeKc5t4tKa depends on cusparse-0.3.0.0 which failed to install.