virt: overlay no longer useful

This commit is contained in:
Timothy DeHerrera 2020-12-19 17:21:24 -07:00
parent d8974dfb56
commit 96b1ebf556
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -11,19 +11,4 @@
environment.sessionVariables = { environment.sessionVariables = {
VAGRANT_DEFAULT_PROVIDER = "libvirt"; VAGRANT_DEFAULT_PROVIDER = "libvirt";
}; };
nixpkgs.overlays =
let
overlay = final: prev: {
# Patch libvirt to use ebtables-legacy
libvirt =
if prev.libvirt.version <= "5.4.0" && prev.ebtables.version
> "2.0.10-4" then
prev.libvirt.overrideAttrs (o: { EBTABLES_PATH = "${final.ebtables}/bin/ebtables-legacy"; })
else
prev.libvirt;
};
in
[ overlay ];
} }