about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorMatthew Bauer2019-02-15 12:07:01 -0500
committerMatthew Bauer2019-02-25 16:50:54 -0500
commit55fc5b54eedaebeb1a7639bad4b56fee0b078999 (patch)
treecf0c80f10181f58525ffc34ec8d5a62323261300 /pkgs/development
parent18c70f925f70f3bc801d317a48a34da723ba03f4 (diff)
vagrant: only use libvirt on linux
Fixes #55751
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/vagrant/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/vagrant/default.nix b/pkgs/development/tools/vagrant/default.nix
index e93791d46969..8f68471f1e34 100644
--- a/pkgs/development/tools/vagrant/default.nix
+++ b/pkgs/development/tools/vagrant/default.nix
@@ -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;