Sha256: cf4c2b6a094beadc9a814af0f40b2fd86aa0205a9a180dac9a9a9b1f698635e4

Contents?: true

Size: 214 Bytes

Versions: 127

Compression:

Stored size: 214 Bytes

Contents

class Specinfra::Helper::DetectOs::Nixos < Specinfra::Helper::DetectOs
  def self.detect
    if run_command('ls /var/run/current-system/sw').success?
      { :family => 'nixos', :release => nil }
    end
  end
end

Version data entries

127 entries across 127 versions & 1 rubygems

Version Path
specinfra-2.0.0 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta52 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta51 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta50 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta49 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta48 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta47 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta46 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta45 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta44 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta43 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta42 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta41 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta40 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta39 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta38 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta37 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta36 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta35 lib/specinfra/helper/detect_os/nixos.rb
specinfra-2.0.0.beta34 lib/specinfra/helper/detect_os/nixos.rb