diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-02-15 12:07:01 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-02-25 16:50:54 -0500 |
commit | 55fc5b54eedaebeb1a7639bad4b56fee0b078999 (patch) | |
tree | cf0c80f10181f58525ffc34ec8d5a62323261300 | |
parent | 18c70f925f70f3bc801d317a48a34da723ba03f4 (diff) |
vagrant: only use libvirt on linux
Fixes #55751
-rw-r--r-- | pkgs/development/tools/vagrant/default.nix | 3 |
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; |