13 lines
400 B
Nix
13 lines
400 B
Nix
|
{
|
||
|
lib,
|
||
|
libguestfs,
|
||
|
libguestfs-appliance,
|
||
|
}:
|
||
|
|
||
|
# https://github.com/NixOS/nixpkgs/issues/280881
|
||
|
lib.warnIf (builtins.compareVersions libguestfs.version libguestfs-appliance.version > 0)
|
||
|
"libguestfs has a higher version than libguestfs-appliance (${libguestfs.version} > ${libguestfs-appliance.version}), runtime errors may occur!"
|
||
|
|
||
|
libguestfs.override
|
||
|
{ appliance = libguestfs-appliance; }
|