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:
parent
d8974dfb56
commit
96b1ebf556
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user