From 908a9fcf12c1bdb65684d6be7950f8b6c18b81d0 Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Wed, 8 Oct 2014 19:01:05 +0200 Subject: [PATCH] add assertion to keep libvirt and libvirt-python versions in sync --- pkgs/development/libraries/libvirt/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 6854254f7267..deba645a39b9 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -2,10 +2,13 @@ , iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext , libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng , dnsmasq, libnl +, pythonPackages }: let version = "1.2.9"; in +assert version == pythonPackages.libvirt.version; + stdenv.mkDerivation rec { name = "libvirt-${version}";