Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: patch-image-0.3.3 (user goal) [__1] trying: patch-image:+cuda [__2] trying: base-4.12.0.0/installed-4.1... (dependency of patch-image +cuda) [__3] next goal: accelerate-llvm-ptx (dependency of patch-image +cuda) [__3] rejecting: accelerate-llvm-ptx-1.2.0.1, accelerate-llvm-ptx-1.2.0.0 (conflict: patch-image +cuda => accelerate-llvm-ptx>=1.1 && <1.2) [__3] rejecting: accelerate-llvm-ptx-1.1.0.1, accelerate-llvm-ptx-1.1.0.0 (conflict: base==4.12.0.0/installed-4.1..., accelerate-llvm-ptx => base>=4.7 && <4.11) [__3] rejecting: accelerate-llvm-ptx-1.0.0.1, accelerate-llvm-ptx-1.0.0.0 (conflict: patch-image +cuda => accelerate-llvm-ptx>=1.1 && <1.2) [__3] fail (backjumping, conflict set: accelerate-llvm-ptx, base, patch-image, patch-image:cuda) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: base, patch-image, patch-image:cuda, accelerate-llvm-ptx