1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-25 17:14:38 +03:00

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 = {
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 ];
}