diff --git a/accelerate-llvm-native/Setup.hs b/accelerate-llvm-native/Setup.hs index 89aaf189e..8a201c248 100644 --- a/accelerate-llvm-native/Setup.hs +++ b/accelerate-llvm-native/Setup.hs @@ -45,7 +45,7 @@ main = defaultMainWithHooks simpleUserHooks _ -> error "accelerate package was not found or is ambiguous" dyld_library_name = mkSharedLibName (hostPlatform lbi) (compilerId (compiler lbi)) (installedUnitId accelerate_pkg) - [dyld_install_dir] = case Installed.libraryDynDirs accelerate_pkg of + dyld_install_dir:_ = case Installed.libraryDynDirs accelerate_pkg of [] -> Installed.libraryDirs accelerate_pkg ds -> ds