anchor.diff:  
     inherit (lib) mkOption types;
   
  +  podmanPackage = (pkgs.podman.override { inherit (cfg) extraPackages; });
  +
     # Provides a fake "docker" binary mapping to podman
  -  dockerCompat = pkgs.runCommandNoCC "${pkgs.podman.pname}-docker-compat-${pkgs.podman.version}" {
  +  dockerCompat = pkgs.runCommandNoCC "${podmanPackage.pname}-docker-compat-${podmanPackage.version}" {
       outputs = [ "out" "bin" "man" ];
  -    inherit (pkgs.podman) meta;
  +    inherit (podmanPackage) meta;
     } ''
       mkdir $out
   
       mkdir -p $bin/bin
  -    ln -s ${pkgs.podman.bin}/bin/podman $bin/bin/docker
  +    ln -s ${podmanPackage.bin}/bin/podman $bin/bin/docker
   
       mkdir -p $man/share/man/man1
  -    for f in ${pkgs.podman.man}/share/man/man1/*; do
  +    for f in ${podmanPackage.man}/share/man/man1/*; do
         basename=$(basename $f | sed s/podman/docker/g)
         ln -s $f $man/share/man/man1/$basename
       done
  
positive.code:       '';
      };
  
      libpod = mkOption {
        default = {};
        description = "Libpod configuration";
  
negative.code: 
    config = lib.mkIf cfg.enable {
  
      environment.systemPackages = [ podmanPackage ]
        ++ lib.optional cfg.dockerCompat dockerCompat;
  
      environment.etc."containers/libpod.conf".text = ''
        cni_plugin_dir = ["${pkgs.cni-plugins}/bin/"]
  
      '' + cfg.libpod.extraConfig;
  
  