about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/comments
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-30 15:22:56 +0100
committerSoispha <soispha@vhack.eu>2024-01-30 15:22:56 +0100
commit0bf099bfb882ff5d474145f6043cf7cf00b4d604 (patch)
tree7dcdbf420be2573ce72b135dceb51e51700f7930 /sys/nixpkgs/pkgs/comments
parentchore(version): v1.26.2 (diff)
downloadnixos-config-0bf099bfb882ff5d474145f6043cf7cf00b4d604.tar.gz
nixos-config-0bf099bfb882ff5d474145f6043cf7cf00b4d604.zip
fix(sys/nixpkgs/comments): Add missing fields to info_json parser
Diffstat (limited to 'sys/nixpkgs/pkgs/comments')
-rw-r--r--sys/nixpkgs/pkgs/comments/src/info_json.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nixpkgs/pkgs/comments/src/info_json.rs b/sys/nixpkgs/pkgs/comments/src/info_json.rs
index 48a35777..35f24d8b 100644
--- a/sys/nixpkgs/pkgs/comments/src/info_json.rs
+++ b/sys/nixpkgs/pkgs/comments/src/info_json.rs
@@ -161,7 +161,8 @@ where
 pub struct Caption {
     pub ext: String,
     pub url: String,
-    pub name: String,
+    pub name: Option<String>,
+    pub protocol: Option<String>,
 }
 
 #[derive(Debug, Deserialize)]