anchor.diff:      openiscsi
     ] ++ optionals enableCeph [
       ceph
  +  ] ++ optionals enableGlusterfs [
  +    glusterfs
     ] ++ optionals stdenv.isDarwin [
       libiconv gmp
     ];
  
positive.code:     "-Dsecdriver_apparmor=enabled"
      "-Dnumad=enabled"
      "-Dstorage_disk=enabled"
      (opt "storage_rbd" enableCeph)
    ] ++ optionals stdenv.isDarwin [
      "-Dinit_script=none"
  
negative.code: , enableXen ? false, xen ? null
  , enableIscsi ? false, openiscsi
  , enableCeph ? false, ceph
  , enableGlusterfs ? false, glusterfs
  }:
  
  with lib;
  