anchor.diff:  , libxslt
   
   , acl
  -, systemd_lib
   , glib
   , gobject-introspection
   , gnused
   , libatasmart
  +, libblockdev
  +, libconfig
  +, libgudev
  +, libstoragemgmt
  +, lvm2
  +, mdadm
   , polkit
  +, systemd_lib
   , util-linux_full
  -, libgudev
   }:
   
   stdenv.mkDerivation rec {
  -  name = "udisks-2.1.8";
  +  name = "udisks-2.6.4";
   
     src = fetchurl {
  -    url = "https://udisks.freedesktop.org/releases/${name}.tar.bz2";
  -    multihash = "QmSknjMv6ad2CqSDwtVJQ5JQMCVWzo536T7dyVzKK6C1qz";
  -    hashOutput = false;
  -    sha256 = "da416914812a77e5f4d82b81deb8c25799fd3228d27d52f7bf89a501b1857dda";
  +    url = "https://github.com/storaged-project/udisks/releases/download/${name}/${name}.tar.bz2";
  +    sha256 = "d65389a861a9a475d3c8e0ad2b8603d9961977f1a00024093b5bacd711e774f2";
     };
   
  -  # FIXME remove /var/run/current-system/sw/* references
  -  # FIXME add references to parted, cryptsetup, etc (see the sources)
     postPatch = ''
       # We need to fix the default path inside of udisks
       grep -q '"/usr/bin:/bin:/usr/sbin:/sbin"' src/main.c
  
positive.code:   buildInputs = [
      acl
      glib
      gobject-introspection
      libatasmart
      libgudev
      polkit
      systemd_lib
    ];
  
negative.code: 
      # We need to fix the udev rules
      grep -q '/bin/sh' data/80-udisks2.rules
      grep -q '/bin/sed' data/80-udisks2.rules
      grep -q '/sbin/mdadm' data/80-udisks2.rules
      sed \
        -e 's,/bin/sh,${stdenv.shell},g' \
        -e 's,/bin/sed,${gnused}/bin/sed,g' \
        -e 's,/sbin/mdadm,${mdadm}/bin/mdadm,g' \
        -i data/80-udisks2.rules
  
      # We need to fix uses of BUILD_DIR
      find . -name \*.c -exec sed -i 's,BUILD_DIR,"/no-such-path",g' {} \;
    '';
  
    nativeBuildInputs = [
  