anchor.diff:  , linuxPackages_5_15 ? pkgs.linuxKernel.packages.linux_5_15
   }:
   
  -with lib;
   let
  +  inherit (lib) any optionalString optionals optional makeBinPath;
  +
     smartmon = smartmontools.override { inherit enableMail; };
   
     buildKernel = any (n: n == configFile) [ "kernel" "all" ];
  
positive.code:         '';
          homepage = "https://github.com/openzfs/zfs";
          changelog = "https://github.com/openzfs/zfs/releases/tag/zfs-${version}";
          license = licenses.cddl;
          platforms = platforms.linux;
          maintainers = with maintainers; [ hmenke jcumming jonringer wizeman fpletz globin ];
          mainProgram = "zfs";
          # If your Linux kernel version is not yet supported by zfs, try zfsUnstable.
          # On NixOS set the option boot.zfs.enableUnstable.
  
negative.code:       configureFlags = [
          "--with-config=${configFile}"
          "--with-tirpc=1"
          (lib.withFeatureAs (buildUser && enablePython) "python" python3.interpreter)
        ] ++ optionals buildUser [
          "--with-dracutdir=$(out)/lib/dracut"
          "--with-udevdir=$(out)/lib/udev"
  