     Mix.Task.run("nerves.loadpaths")
   end
 
-  def check_requirements("mksquashfs") do
+  defp check_requirements("mksquashfs") do
     case System.find_executable("mksquashfs") do
       nil ->
         Mix.raise(missing_package_message("squashfs"))

    end
  end

  def check_requirements("fwup") do
    case System.find_executable("fwup") do
      nil ->
        Mix.raise(missing_package_message("fwup"))

    end
  end

  defp check_host_requirements(:darwin) do
    case System.find_executable("gstat") do
      nil ->
        Mix.raise(missing_package_message("gstat (coreutils)"))
