vagrant: only use libvirt on linux

Fixes #55751
This commit is contained in:
Matthew Bauer 2019-02-15 12:07:01 -05:00
parent 18c70f925f
commit 55fc5b54ee

View File

@ -1,4 +1,5 @@
{ lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive, libguestfs, qemu, writeText, withLibvirt ? true}:
{ stdenv, lib, fetchurl, buildRubyGem, bundlerEnv, ruby, libarchive
, libguestfs, qemu, writeText, withLibvirt ? stdenv.isLinux }:
let
# NOTE: bumping the version and updating the hash is insufficient;