```ruby
class Specinfra::Helper::DetectOs::Clearlinuxos < Specinfra::Helper::DetectOs
  def detect
    if (clearlinuxos_info = run_command('/usr/bin/swupd')) && clearlinuxos_info.success?
      distro = 'clearlinuxos'
      release = nil
      { family: distro, release: release }
    end
  end
end
```

Fix Clear Linux detection so it works w/ 1.8.7
user
```ruby
class Specinfra::Helper::DetectOs::Clearlinuxos < Specinfra::Helper::DetectOs
  def detect
    if run_command('/usr/bin/swupd').success?
      { :family => 'nixos', :release => nil }
    end
  end
end
```
assistant