anchor.diff:    cfg = config.services.codimd;
   
     prettyJSON = conf:
  -    pkgs.runCommand "codimd-config.json" { preferLocalBuild = true; } ''
  -      echo '${builtins.toJSON conf}' | ${pkgs.jq}/bin/jq \
  +    pkgs.runCommandLocal "codimd-config.json" {
  +      nativeBuildInputs = [ pkgs.jq ];
  +    } ''
  +      echo '${builtins.toJSON conf}' | jq \
           '{production:del(.[]|nulls)|del(.[][]?|nulls)}' > $out
       '';
   in
  
positive.code:       };
      };
  
  
      environmentFile = mkOption {
        type = with types; nullOr path;
        default = null;
  
negative.code: 
          Note that this file needs to be available on the host on which
          <literal>CodiMD</literal> is running.
        '';
      };
  
      package = mkOption {
        type = types.package;
        default = pkgs.codimd;
        description = ''
          Package that provides CodiMD.
        '';
      };
    };
  