Resolving dependencies... Configuring storable-complex-0.2.2... Configuring cuda-0.9.0.3... Building storable-complex-0.2.2... Installed storable-complex-0.2.2 Failed to install cuda-0.9.0.3 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/cuda-0.9.0.3-1L9uzKVFBrGAcW6i0pbmYk.log ): cabal: Entering directory '/tmp/cabal-tmp-7310/cuda-0.9.0.3' [1 of 1] Compiling Main ( /tmp/cabal-tmp-7310/cuda-0.9.0.3/dist/setup/setup.hs, /tmp/cabal-tmp-7310/cuda-0.9.0.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-7310/cuda-0.9.0.3/dist/setup/setup ... Configuring cuda-0.9.0.3... 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-7310/cuda-0.9.0.3' cabal: Error: some packages failed to install: cuda-0.9.0.3-1L9uzKVFBrGAcW6i0pbmYk failed during the configure step. The exception was: ExitFailure 1 cusparse-0.1.0.1-BJeQHvOSWw16ZvX38Vc6WO depends on cusparse-0.1.0.1 which failed to install.