Sha256: 483cd7626becd0a19465ba927ba0500e5f0877cd39ec1249e8870c235b7aeffe
Contents?: true
Size: 564 Bytes
Versions: 356
Compression:
Stored size: 564 Bytes
Contents
class Specinfra::Command::Nixos::Base::Package < Specinfra::Command::Linux::Base::Package class << self def check_is_installed(package, version=nil) if version "nix-store -q --references /var/run/current-system/sw | grep #{escape(package)}-#{escape(version)}" else "nix-store -q --references /var/run/current-system/sw | grep #{escape(package)}" end end alias :check_is_installed_by_nix :check_is_installed def install(package, version=nil, option='') "nix-env -i #{option} #{package}" end end end
Version data entries
356 entries across 356 versions & 3 rubygems