anchor.diff:  
     buildNativeInputs = [ automake autoconf pkgconfig ];
   
  -  configureFlags = "--localstatedir=/var";
  +  configureFlags = "--localstatedir=/var --enable-lvm2";
   
     preConfigure =
       ''
  
positive.code: 
    patches = [ ./purity.patch ];
  
  
    buildInputs =
      [ sg3_utils udev glib dbus dbus_glib polkit parted
        lvm2 libatasmart intltool libuuid libxslt docbook_xsl
  
negative.code: , libxslt, docbook_xsl, utillinux, automake, autoconf }:
  
  stdenv.mkDerivation rec {
    name = "udisks-1.0.4";
  
    src = fetchurl {
      url = "http://hal.freedesktop.org/releases/${name}.tar.gz";
      sha256 = "1xgqifddwaavmjc8c30i0mdffyirsld7c6qhfyjw7f9khwv8jjw5";
    };
  
    # Move 80-udisks.rules manually to make the patch smaller
  