vagrant: only use libvirt on linux

Fixes #55751
This commit is contained in:
Matthew Bauer
2019-02-25 16:50:54 -05:00
parent 18c70f925f
commit 55fc5b54ee
+2 -1
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;