diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index b7316fdb7..938b08b27 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -978,11 +978,15 @@ std::string CPluginManager::headerErrorShort(const eHeadersErrors err) { } bool CPluginManager::hasDeps() { - std::vector deps = {"meson", "cpio", "cmake", "pkg-config", "g++", "gcc", "git"}; + bool hasAllDeps = true; + std::vector deps = {"meson", "cpio", "cmake", "pkg-config", "g++", "gcc", "git"}; + for (auto const& d : deps) { - if (!execAndGet("command -v " + d).contains("/")) - return false; + if (!execAndGet("command -v " + d).contains("/")) { + std::println(stderr, "{}", failureString("Missing dependency: {}", d)); + hasAllDeps = false; + } } - return true; + return hasAllDeps; }